aboutsummaryrefslogtreecommitdiffstats
path: root/debian-stretch-build
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-09-26 09:34:11 +0200
committerHarald Welte <laforge@gnumonks.org>2018-09-26 10:25:43 +0200
commit2ae3487e01e86abda801de200a6b5011f704607e (patch)
tree84830495d4484da258b5767e1ac00db482a13119 /debian-stretch-build
parent643de5ed2e7fbf22210d331e77dafe55b97d0e1a (diff)
debian-*-build: Ensure rebuild on changes in upstream
Let's use the well-known hack of adding the "Release" file of the respective debian distribution/version to ensure docker will invalidate the cache if the repository has changed since the last build. Change-Id: If6f75db11ef424e46c4915b761f9eca69258a9c5
Diffstat (limited to 'debian-stretch-build')
-rw-r--r--debian-stretch-build/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian-stretch-build/Dockerfile b/debian-stretch-build/Dockerfile
index a4526f7..d4dcc39 100644
--- a/debian-stretch-build/Dockerfile
+++ b/debian-stretch-build/Dockerfile
@@ -2,6 +2,7 @@ FROM debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>
+ADD http://ftp.de.debian.org/debian/dists/stretch/Release /tmp/Release
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \