From: garciadeblas Date: Thu, 8 Jun 2023 15:23:24 +0000 (+0200) Subject: Support of Ubuntu22 docker image for NG-UI X-Git-Tag: release-v14.0-start~20 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F26%2F13526%2F1;p=osm%2Fdevops.git Support of Ubuntu22 docker image for NG-UI Change-Id: Ie5fa1a82f522fe5fdcc1a726aae2e2c061c1c216 Signed-off-by: garciadeblas --- diff --git a/docker/NG-UI/Dockerfile b/docker/NG-UI/Dockerfile index 418de25b..628e3daf 100644 --- a/docker/NG-UI/Dockerfile +++ b/docker/NG-UI/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. ####################################################################################### -FROM ubuntu:20.04 as INSTALL +FROM ubuntu:22.04 as INSTALL ARG APT_PROXY RUN if [ ! -z $APT_PROXY ] ; then \ @@ -25,15 +25,16 @@ RUN if [ ! -z $APT_PROXY ] ; then \ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \ DEBIAN_FRONTEND=noninteractive apt-get --yes install \ - apt-transport-https=2.0.* \ - curl=7.68.* \ + apt-transport-https=2.4.* \ + curl=7.81.* \ gnupg2=2.2.* \ nginx=1.18.* \ software-properties-common=0.99.* \ - xz-utils=5.2.* + xz-utils=5.2.* \ + && rm -rf /var/lib/apt/lists/* RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \ - echo "deb https://deb.nodesource.com/node_14.x focal main" | tee -a /etc/apt/sources.list.d/nodesource.list && \ + echo "deb https://deb.nodesource.com/node_14.x jammy main" | tee -a /etc/apt/sources.list.d/nodesource.list && \ DEBIAN_FRONTEND=noninteractive apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs @@ -49,7 +50,7 @@ RUN npm install RUN npm run build ####################################################################################### -FROM ubuntu:20.04 AS FINAL +FROM ubuntu:22.04 AS FINAL ARG APT_PROXY RUN if [ ! -z $APT_PROXY ] ; then \