summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhekeguang <hekeguang@chinamobile.com>2021-09-02 18:42:17 +0800
committerhekeguang <hekeguang@chinamobile.com>2021-09-02 18:45:52 +0800
commit7d28c53e50bc08d55e8a8ba7df14b3c8d4b2f2f6 (patch)
tree3e05b9dc2f8f5afb1414e18f80c9391dea76e7af
parent1f68706118885380dec62be3b6dfd73e73a5c1a3 (diff)
UUI needs to upgrade the version of Ubuntu.
Issue-ID: USECASEUI-603 Change-Id: I33b50b15dff99ce42444ad440d192d0c2439960a Signed-off-by: hekeguang <hekeguang@chinamobile.com>
-rw-r--r--standalone/src/main/assembly/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile
index b34e72ee..68062b39 100644
--- a/standalone/src/main/assembly/Dockerfile
+++ b/standalone/src/main/assembly/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:20.04
+FROM nexus3.onap.org:10001/ubuntu:20.04
MAINTAINER "Lu Ji" <lu.ji3@zte.com.cn>
# Expose the Usecase-UI backend port and postgreSQL port
@@ -12,7 +12,7 @@ ENV PG_HOME=/etc/postgresql \
PG_LOGDIR=/var/log/postgresql
# Add the PostgreSQL PGP key to verify their Debian packages
-RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
+RUN apt -y update && apt -y install gnupg && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
# Add PostgreSQL's repository
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main" > /etc/apt/sources.list.d/pgdg.list