Browse Source

docker: remove pip from resulting image

master
3np 4 years ago
parent
commit
3eec6e8cf2
  1. 3
      Dockerfile

3
Dockerfile

@ -6,8 +6,9 @@ WORKDIR /jm/clientserver
COPY . .
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates=* curl=* \
python3-pip=* \
python3-pip=* python3=* \
&& pip3 install 'wheel>=0.35.1' \
&& ./install.sh --docker-install \
&& apt-get purge -y --autoremove python3-pip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Loading…
Cancel
Save