Change in docker-playground[master]: debian-*-build: Ensure rebuild on changes in upstream

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Sep 26 08:25:51 UTC 2018


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/11100


Change subject: debian-*-build: Ensure rebuild on changes in upstream
......................................................................

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
---
M debian-jessie-build/Dockerfile
M debian-stretch-build/Dockerfile
2 files changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/00/11100/1

diff --git a/debian-jessie-build/Dockerfile b/debian-jessie-build/Dockerfile
index 6fe1efa..39653d2 100644
--- a/debian-jessie-build/Dockerfile
+++ b/debian-jessie-build/Dockerfile
@@ -2,6 +2,7 @@
 
 MAINTAINER Harald Welte <laforge at gnumonks.org>
 
+ADD	http://ftp.de.debian.org/debian/dists/jessie/Release /tmp/Release
 RUN	apt-get update && \
 	apt-get upgrade -y && \
 	apt-get install -y --no-install-recommends \
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 @@
 
 MAINTAINER Harald Welte <laforge at 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 \

-- 
To view, visit https://gerrit.osmocom.org/11100
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If6f75db11ef424e46c4915b761f9eca69258a9c5
Gerrit-Change-Number: 11100
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180926/5f2790ce/attachment.htm>


More information about the gerrit-log mailing list