From 902dcbff020b73a4f549feab439880e54fd7309c Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sat, 11 Apr 2026 08:08:41 +0100 Subject: [PATCH] runs build_loglog with bash --- capsule/Dockerfile | 9 +++++---- capsule/{build_loglog.sh => build_loglog.bash} | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) rename capsule/{build_loglog.sh => build_loglog.bash} (99%) 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 =0; i--)); do done echo "Cleaning up temporary files..." -rm -rd "$TMP" +rm -rf "$TMP" echo "Done."