From a84405a36a87291ca7a8a8895eaa61fc31a0a8af Mon Sep 17 00:00:00 2001 From: Anthony Bretaudeau Date: Fri, 24 Nov 2023 11:03:16 +0100 Subject: [PATCH] fix --- .hadolint.yaml | 1 + Dockerfile | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.hadolint.yaml b/.hadolint.yaml index 6bf8263..77ebb91 100644 --- a/.hadolint.yaml +++ b/.hadolint.yaml @@ -4,3 +4,4 @@ ignored: - DL4006 - DL4001 - DL3013 + - SC2086 diff --git a/Dockerfile b/Dockerfile index 5e1812b..73660cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,12 +15,12 @@ RUN apt-get update \ # Install docker to allow docker execution from process-message RUN buildDeps='gnupg2 dirmngr software-properties-common' \ && set -x \ - && apt-get install -y "$buildDeps" --no-install-recommends \ + && apt-get install -y $buildDeps --no-install-recommends \ && curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \ && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" \ && apt-get update \ && apt-get install --no-install-recommends -y docker-ce-cli \ - && apt-get purge -y --auto-remove "$buildDeps" \ + && apt-get purge -y --auto-remove $buildDeps \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -55,7 +55,7 @@ RUN pip3 install --no-cache-dir setuptools --upgrade && \ ENV SUDO_FORCE_REMOVE=yes RUN buildDeps="gcc python3-dev protobuf-compiler" \ && set -x \ - && apt-get install -y "$buildDeps" --no-install-recommends \ + && apt-get install -y $buildDeps --no-install-recommends \ && cd /root/biomaj-core && python3 setup.py build && pip3 install --no-cache-dir . \ && cd /root/biomaj-zipkin && python3 setup.py build && pip3 install --no-cache-dir . \ && cd /root/biomaj-user && python3 setup.py build && pip3 install --no-cache-dir . \ @@ -71,7 +71,7 @@ RUN buildDeps="gcc python3-dev protobuf-compiler" \ && cd /root/biomaj-release && python3 setup.py build && pip3 install --no-cache-dir . \ && cd /root/biomaj-data && python3 setup.py build && pip3 install --no-cache-dir . \ && apt-get install --no-install-recommends -y wget bzip2 ca-certificates curl git \ - && apt-get purge -y --auto-remove "$buildDeps" \ + && apt-get purge -y --auto-remove $buildDeps \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*