Feature 10296
[osm/devops.git] / docker / light-ui / Dockerfile
index b41904b..eee9416 100644 (file)
@@ -19,6 +19,7 @@ FROM ubuntu:18.04
 RUN apt-get update \
     && DEBIAN_FRONTEND=noninteractive apt-get install -y curl \
                           software-properties-common \
+                          apt-transport-https \
                           git \
                           python-pip \
                           nginx \
@@ -27,12 +28,19 @@ RUN apt-get update \
                           mysql-client \
                           libssl-dev \
                           apt-utils \
-    && DEBIAN_FRONTEND=noninteractive apt-get install -y npm
+    && curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
+    && echo "deb https://deb.nodesource.com/node_10.x bionic main" | tee -a /etc/apt/sources.list.d/nodesource.list \
+    && echo "deb-src https://deb.nodesource.com/node_10.x bionic main" | tee -a /etc/apt/sources.list.d/nodesource.list \
+    && apt-get update \
+    && DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs
+
+RUN node -v
+RUN npm -v
 
 RUN echo "daemon off;" >> /etc/nginx/nginx.conf
 
 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
-ARG RELEASE=ReleaseEIGHT-daily
+ARG RELEASE=ReleaseNINE-daily
 ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg
 ARG REPOSITORY=testing
 ARG LWUI_VERSION