Support of Ubuntu22 docker image for NG-UI
Change-Id: Ie5fa1a82f522fe5fdcc1a726aae2e2c061c1c216
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/docker/NG-UI/Dockerfile b/docker/NG-UI/Dockerfile
index 418de25..628e3da 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 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 run build
#######################################################################################
-FROM ubuntu:20.04 AS FINAL
+FROM ubuntu:22.04 AS FINAL
ARG APT_PROXY
RUN if [ ! -z $APT_PROXY ] ; then \