From f5f24b47e5d7fd54ef4a07414e34fc0a9f6807d3 Mon Sep 17 00:00:00 2001 From: Donald Patterson Date: Tue, 27 Mar 2018 10:25:18 -0300 Subject: [PATCH] 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 --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f69886e4..4bab57e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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