From f3cc90c65d3a6b88ffc9b98e9298e7553b57d149 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 2 Mar 2021 17:21:36 +0000 Subject: [PATCH] Added CACHE_DATE arg to force recreating the docker layer during docker build of tests image Change-Id: Icbe3c76be7618c557b461227c61463cfcc34d0ac Signed-off-by: garciadeblas --- docker/mk/Makefile.include | 1 + docker/tests/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/mk/Makefile.include b/docker/mk/Makefile.include index 4105295e..f31d2cae 100644 --- a/docker/mk/Makefile.include +++ b/docker/mk/Makefile.include @@ -76,6 +76,7 @@ build: $(MKBUILD) $(DEPS_TARGETS) --build-arg LWUI_VERSION==$(shell cat $(MKBUILD)/.dep_lightui) \ --build-arg NGUI_VERSION==$(shell cat $(MKBUILD)/.dep_ngui) \ --build-arg TESTS_VERSION==$(shell cat $(MKBUILD)/.dep_tests) \ + --build-arg CACHE_DATE==$(shell date -uI) \ $(DOCKER_ARGS) . clean: diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index 023bd849..18ebe8e7 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -56,6 +56,7 @@ RUN mv /usr/share/osm-tests/charm.sh /usr/sbin/charm WORKDIR /robot-systest +ARG CACHE_DATE=2021-03-01 RUN git clone https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages.git --recurse-submodules /robot-systest/osm-packages # Folder where Robot tests are stored -- 2.25.1