ci: update java 11 installation package 52/112652/2
authorcyuamber <xuranyjy@chinamobile.com>
Tue, 15 Sep 2020 01:32:50 +0000 (09:32 +0800)
committerChuyi Guo <guochuyi@chinamobile.com>
Tue, 15 Sep 2020 01:48:06 +0000 (01:48 +0000)
Change-Id: I95119fd9188aa343104f01d4aeb368ea0bb136a7
Issue-ID: USECASEUI-484
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
distribution/src/main/assembly/Dockerfile

index 05248d8..1771c00 100644 (file)
@@ -3,6 +3,9 @@ FROM ubuntu:16.04
 EXPOSE 8443
 
 RUN apt-get update && \
+    apt-get install -y python-software-properties && \
+    apt-get install -y software-properties-common && \
+    add-apt-repository -y ppa:openjdk-r/ppa && \
     apt-get install -y openjdk-11-jdk
 
 #configure the JDK