user 6 vuotta sitten
vanhempi
commit
2d01043699
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 1 3
      Dockerfile

+ 1 - 3
Dockerfile

@@ -1,8 +1,6 @@
 FROM ubuntu:16.04
 
-RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y dist-upgrade && DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install unzip
-
-RUN DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install software-properties-common
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y dist-upgrade && DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install unzip software-properties-common
 
 RUN add-apt-repository ppa:openjdk-r/ppa && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install openjdk-7-jdk