From: hekeguang Date: Thu, 2 Sep 2021 10:42:17 +0000 (+0800) Subject: UUI needs to upgrade the version of Ubuntu. X-Git-Tag: 4.0.3~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F123806%2F1;p=usecase-ui%2Fserver.git UUI needs to upgrade the version of Ubuntu. Issue-ID: USECASEUI-603 Change-Id: I33b50b15dff99ce42444ad440d192d0c2439960a Signed-off-by: hekeguang --- 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" # 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