UUI needs to upgrade the version of Ubuntu. 96/123796/1
authorhekeguang <hekeguang@chinamobile.com>
Thu, 2 Sep 2021 09:35:14 +0000 (17:35 +0800)
committerhekeguang <hekeguang@chinamobile.com>
Thu, 2 Sep 2021 09:35:24 +0000 (17:35 +0800)
Issue-ID: USECASEUI-603
Change-Id: I78adc3d7f7f9ab5754bd6cfb927db1668ea6fbb6
Signed-off-by: hekeguang <hekeguang@chinamobile.com>
standalone/src/main/assembly/Dockerfile

index 8d0e9ad..b34e72e 100644 (file)
@@ -1,4 +1,4 @@
-FROM ubuntu:16.04
+FROM ubuntu:20.04
 MAINTAINER "Lu Ji" <lu.ji3@zte.com.cn>
 
 # Expose the Usecase-UI backend port and postgreSQL port
@@ -14,11 +14,11 @@ ENV PG_HOME=/etc/postgresql \
 # Add the PostgreSQL PGP key to verify their Debian packages
 RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
 # Add PostgreSQL's repository
-RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list
+RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main" > /etc/apt/sources.list.d/pgdg.list
 
 # Update the Ubuntu and install tools
 RUN apt-get update && \
-    apt-get install -y python-software-properties && \
+#   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 && \