mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Combine RUN apt-get calls in Dockerfile
- with the calls in separate lines, there can be caching issues - changed `apt` to `apt-get` to stop instability warnings
This commit is contained in:
committed by
Dan Ryan
parent
419e0310e4
commit
f5f24b47e5
+5
-5
@@ -1,11 +1,11 @@
|
||||
FROM ubuntu:17.10
|
||||
|
||||
# -- Install Pipenv:
|
||||
RUN apt update
|
||||
RUN apt install software-properties-common python-software-properties -y
|
||||
RUN add-apt-repository ppa:pypa/ppa -y
|
||||
RUN apt update
|
||||
RUN apt install git pipenv -y
|
||||
RUN apt-get update \
|
||||
&& apt-get install software-properties-common python-software-properties -y \
|
||||
&& add-apt-repository ppa:pypa/ppa -y \
|
||||
&& apt-get update \
|
||||
&& apt-get install git pipenv -y
|
||||
|
||||
ENV LC_ALL C.UTF-8
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
Reference in New Issue
Block a user