Actualiser cookcli/Dockerfile

This commit is contained in:
TheThomaas 2026-09-05 20:19:55 +00:00
parent 2bc5d8c3a8
commit c26d6c8564

View file

@ -9,7 +9,6 @@ RUN apk add --no-cache \
git \
openssh-client \
nginx \
nginx-mod-stream \
&& curl -L https://github.com/cooklang/CookCLI/releases/latest/download/cook-x86_64-unknown-freebsd.tar.gz | tar xz \
&& mv cook /usr/local/bin/ \
&& chmod a+x /usr/local/bin/cook
@ -18,8 +17,8 @@ RUN apk add --no-cache \
COPY rootfs /
# Rendre tous les scripts run exécutables
RUN chmod +x /etc/s6-overlay/s6-rc.d/*/run \
&& chmod +x /etc/services.d/*/run 2>/dev/null || true
RUN find /etc -name "run" -type f -exec chmod +x {} \; \
&& find /usr -name "*.sh" -type f -exec chmod +x {} \;
# Point d'entrée S6-overlay
ENTRYPOINT ["/init"]