diff options
author | hekeguang <hekeguang@chinamobile.com> | 2021-09-02 17:35:14 +0800 |
---|---|---|
committer | hekeguang <hekeguang@chinamobile.com> | 2021-09-02 17:35:24 +0800 |
commit | 1f68706118885380dec62be3b6dfd73e73a5c1a3 (patch) | |
tree | f63438309460af63832922737386af8f817ac53a /standalone/src | |
parent | f0a75c7f020b2a2606a8ffdf0f69012bc833a46e (diff) |
UUI needs to upgrade the version of Ubuntu.
Issue-ID: USECASEUI-603
Change-Id: I78adc3d7f7f9ab5754bd6cfb927db1668ea6fbb6
Signed-off-by: hekeguang <hekeguang@chinamobile.com>
Diffstat (limited to 'standalone/src')
-rw-r--r-- | standalone/src/main/assembly/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile index 8d0e9ad8..b34e72ee 100644 --- a/standalone/src/main/assembly/Dockerfile +++ b/standalone/src/main/assembly/Dockerfile @@ -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 && \ |