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 e832e9d commit 94e82aa
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,13 @@ ENV prometheus_multiproc_dir=/tmp/biomaj-prometheus-multiproc
RUN rm -rf /tmp/biomaj-prometheus-multiproc && \
mkdir -p /tmp/biomaj-prometheus-multiproc

RUN apt-get update \
&& apt-get install -y apt-transport-https curl libcurl4-openssl-dev python3-pycurl python3-setuptools python3-pip git unzip bzip2 ca-certificates jq --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# 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 \
&& 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 -y apt-transport-https curl libcurl4-openssl-dev python3-pycurl python3-setuptools python3-pip git unzip bzip2 ca-certificates jq --no-install-recommends \
&& apt-get install -y $buildDeps --no-install-recommends \
&& curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
&& apt-get install --no-install-recommends -y docker-ce-cli \
&& apt-get purge -y --auto-remove $buildDeps \
&& apt-get clean \
Expand Down Expand Up @@ -55,6 +50,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 update \
&& 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 . \
Expand All @@ -76,11 +72,6 @@ RUN buildDeps="gcc python3-dev protobuf-compiler" \
&& rm -rf /var/lib/apt/lists/*



#RUN apt-get update --fix-missing && \
# apt-get install -y wget bzip2 ca-certificates curl git && \
# apt-get clean && \
# rm -rf /var/lib/apt/lists/*
RUN pip3 uninstall -y gunicorn && pip3 install --no-cache-dir gunicorn==19.9.0 && \
pip3 uninstall -y greenlet && pip3 install --no-cache-dir greenlet==0.4.15 && \
pip3 uninstall -y gevent && pip3 install --no-cache-dir gevent==1.3.7
Expand Down

0 comments on commit 94e82aa

Please sign in to comment.