Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Nov 24, 2023
1 parent df7346d commit a84405a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .hadolint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ ignored:
- DL4006
- DL4001
- DL3013
- SC2086
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down Expand Up @@ -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 . \
Expand All @@ -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/*

Expand Down

0 comments on commit a84405a

Please sign in to comment.