summaryrefslogtreecommitdiffstats
path: root/distribution
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-09-15 11:39:17 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-09-15 11:39:31 +0800
commit771c10a0c2c45b779384624dfcd34b4439423d35 (patch)
treef0653fb2d1ed7df35ff08a2e3a741c12bb199192 /distribution
parente1935063bd3cbaf1e5439168d84b137d8ce5e73f (diff)
ci: update java 11 installation
Change-Id: I3a79d26aad0ab6d6c925de2ceaefd6046bb082d2 Issue-ID: USECASEUI-484 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'distribution')
-rw-r--r--distribution/src/main/assembly/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/distribution/src/main/assembly/Dockerfile b/distribution/src/main/assembly/Dockerfile
index 1771c00e..a173baed 100644
--- a/distribution/src/main/assembly/Dockerfile
+++ b/distribution/src/main/assembly/Dockerfile
@@ -2,10 +2,10 @@ FROM ubuntu:16.04
EXPOSE 8443
-RUN apt-get update && \
- apt-get install -y python-software-properties && \
+RUN apt-get install -y python-software-properties && \
apt-get install -y software-properties-common && \
add-apt-repository -y ppa:openjdk-r/ppa && \
+ apt-get update && \
apt-get install -y openjdk-11-jdk
#configure the JDK