Update Webhook/Dockerfile to use Ubuntu22 as base image
[osm/devops.git] / docker / NG-UI / Dockerfile
index c4d67df..418de25 100644 (file)
@@ -33,9 +33,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     xz-utils=5.2.*
 
 RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
-    echo "deb https://deb.nodesource.com/node_10.x focal main" | tee -a /etc/apt/sources.list.d/nodesource.list && \
+    echo "deb https://deb.nodesource.com/node_14.x focal main" | tee -a /etc/apt/sources.list.d/nodesource.list && \
     DEBIAN_FRONTEND=noninteractive apt-get update && \
-    DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs=10.24.*
+    DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs
 
 ARG OSM_NGUI_URL
 
@@ -62,6 +62,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     nginx=1.18.* && \
     rm -rf /var/lib/apt/lists/*
 
+RUN rm -f /etc/apt/apt.conf.d/proxy.conf
+
 # Removing the Nginx default page.
 RUN rm -rf /usr/share/nginx/html/*