diff --git a/cookcli/Dockerfile b/cookcli/Dockerfile index 03fcd1a..cfec8c1 100644 --- a/cookcli/Dockerfile +++ b/cookcli/Dockerfile @@ -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"] \ No newline at end of file