diff options
| author | Joe Carstairs <me@joeac.net> | 2026-04-11 08:08:41 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-04-11 08:08:41 +0100 |
| commit | 902dcbff020b73a4f549feab439880e54fd7309c (patch) | |
| tree | 62f894d4c49386a91833277cf8623b23ad80034a /capsule/Dockerfile | |
| parent | 367099dd605918527b5dc9c65b2905f930241b58 (diff) | |
runs build_loglog with bash
Diffstat (limited to 'capsule/Dockerfile')
| -rw-r--r-- | capsule/Dockerfile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/capsule/Dockerfile b/capsule/Dockerfile index 26f5034..1284689 100644 --- a/capsule/Dockerfile +++ b/capsule/Dockerfile @@ -22,9 +22,10 @@ RUN crontab -l > crontab.tmp \ && crontab crontab.tmp \ && rm crontab.tmp -# gcc is a dependency for agate +# bash is needed to run build_loglog.bash # busybox-openrc provides rc-service, which runs crond -RUN apk --no-cache add gcc busybox-openrc +# gcc is a dependency for agate +RUN apk --no-cache add bash busybox-openrc gcc RUN rc-service crond start && rc-update add crond COPY --from=agate /root/.cargo/bin/agate /usr/local/bin/agate COPY --from=comitium /usr/local/bin/comitium /usr/local/bin/comitium @@ -34,9 +35,9 @@ COPY feeds.txt feeds.txt RUN while read feed; do \ comitium add --data comitium-data/ "$feed"; \ done <feeds.txt -COPY build_loglog.sh build_loglog.sh +COPY build_loglog.bash build_loglog.bash COPY content content -RUN /bin/bash ./build_loglog.sh +RUN ./build_loglog.bash CMD \ ( sleep 5; comitium refresh --data comitium-data/ ) & \ |
