From: Art Cancro Date: Wed, 25 Aug 2021 04:02:37 +0000 (-0400) Subject: Burn the cache when the upstream repo changes X-Git-Url: https://code.citadel.org/?p=citadel-docker.git;a=commitdiff_plain;h=3373d614d6043c109d3372e8a4c080c03e7d25d7 Burn the cache when the upstream repo changes --- 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" && \