From 3373d614d6043c109d3372e8a4c080c03e7d25d7 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 25 Aug 2021 00:02:37 -0400 Subject: [PATCH] Burn the cache when the upstream repo changes --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7f9cd25..a6d5ebe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,9 @@ RUN sh -c 'mkdir /tmp/db_build && \ # Deploy "ctdlvisor", a small supervisor program which runs inside the container to wrangle the various services ADD ctdlvisor.c /tmp +# Burn the cache if the upstream repository has changed +ADD "https://code.citadel.org/?p=citadel;a=rss;h=refs/heads/master" /tmp/changes.rss + # Download and build Citadel RUN sh -c 'export CFLAGS=-I/usr/local/ctdlsupport/include && \ export LDFLAGS="-L/usr/local/ctdlsupport/lib -Wl,--rpath -Wl,/usr/local/ctdlsupport/lib" && \ -- 2.30.2