Fix bug 1635 - Pinning packages to major version

Change-Id: Iea7fd8ebfd7de5033a2ff0197a1a5f1bc53f48b4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
diff --git a/docker/NG-UI/Dockerfile b/docker/NG-UI/Dockerfile
index 9ea5d3d..b7ca8f7 100644
--- a/docker/NG-UI/Dockerfile
+++ b/docker/NG-UI/Dockerfile
@@ -17,17 +17,17 @@
 
 RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     DEBIAN_FRONTEND=noninteractive apt-get --yes install \
-    apt-transport-https=1.6.12ubuntu0.2 \
-    curl=7.58.0-2ubuntu3.14 \
-    gnupg2=2.2.4-1ubuntu1.4 \
-    nginx=1.14.0-0ubuntu1.9 \
-    software-properties-common=0.96.24.32.14 \
-    xz-utils=5.2.2-1.3
+    apt-transport-https=1.6.* \
+    curl=7.58.* \
+    gnupg2=2.2.* \
+    nginx=1.14.* \
+    software-properties-common=0.96.* \
+    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 xenial main" | tee -a /etc/apt/sources.list.d/nodesource.list && \
     apt-get update && \
-    apt-get install -y nodejs=10.24.1-1nodesource1
+    apt-get install -y nodejs=10.24.*
 
 ARG OSM_NGUI_URL