Merge pull request #1006 from PeterDaveHelloKitchen/Improve-Dockerfile_build
Improve/Refactor Dockerfile_build
This commit is contained in:
commit
93e7daddc1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue