user 6 年之前
父節點
當前提交
2d01043699
共有 1 個文件被更改,包括 1 次插入3 次删除
  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