X-Git-Url: https://code.citadel.org/?p=citadel-docker.git;a=blobdiff_plain;f=Dockerfile;fp=Dockerfile;h=a6d5ebe97edbb978638f8df8ccc082ea764d03bb;hp=7f9cd25f0505c307974ae448931b3f3777af45af;hb=3373d614d6043c109d3372e8a4c080c03e7d25d7;hpb=0abae9692fa30071aa4760c9dd905bdc169989fc 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" && \