Merge "Adding Keystone environment variables to NBI"
authormarchettim <mmarchetti@sandvine.com>
Wed, 26 Sep 2018 18:42:25 +0000 (20:42 +0200)
committerGerrit Code Review <root@osm.etsi.org>
Wed, 26 Sep 2018 18:42:25 +0000 (20:42 +0200)
docker/light-ui/Dockerfile
docker/light-ui/Makefile
docker/mk/Makefile.include

index f845f7a..5cf9aa7 100644 (file)
@@ -4,7 +4,9 @@ WORKDIR /usr/src/app
 
 RUN apt-get update && apt-get install -y npm git python-pip nginx supervisor
 RUN npm install -g bower
-RUN git clone https://osm.etsi.org/gerrit/osm/LW-UI /usr/src/app
+
+ARG LWUI_VERSION=
+RUN git clone https://osm.etsi.org/gerrit/osm/LW-UI /usr/src/app && echo LWUI_VERSION
 
 RUN ln -s /usr/bin/nodejs /usr/bin/node
 RUN bower install --allow-root
index e638100..d64462a 100644 (file)
@@ -1,6 +1,3 @@
 include ../mk/Makefile.include
 
-# Currently LW-UI needs no-cache (binary version packages not yet available)
-DOCKER_ARGS += $(NO_CACHE)
-
 MDG=$(shell basename $(CURDIR))
index 54ef41a..e1f47b3 100644 (file)
@@ -44,6 +44,7 @@ build: $(MKBUILD) $(DEPS_TARGETS)
                    --build-arg NBI_VERSION==$(shell cat $(MKBUILD)/.dep_NBI) \
                    --build-arg POL_VERSION==$(shell cat $(MKBUILD)/.dep_POL) \
                    --build-arg DEVOPS_VERSION==$(shell cat $(MKBUILD)/.dep_devops) \
+                   --build-arg LWUI_VERSION==$(shell date +%s) \
                    $(DOCKER_ARGS) .
 
 clean: