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