Merge pull request #1006 from PeterDaveHelloKitchen/Improve-Dockerfile_build

Improve/Refactor Dockerfile_build
This commit is contained in:
Adam Warner 2022-04-20 20:49:13 +01:00 committed by GitHub
commit 93e7daddc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ ARG packages
RUN apt-get update && \
apt-get install -y python3-dev curl gcc make \
libffi-dev libssl-dev ${packages} \
&& pip3 install -U pip pipenv
&& rm -rf /var/lib/apt/lists/* \
&& pip3 install --no-cache-dir -U pip pipenv
RUN curl -L https://github.com/docker/compose/releases/download/1.25.5/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose