Fix: chmod +x install-s6 before execution in Docker build

This commit is contained in:
xtcnet 2026-03-07 21:35:19 +07:00
parent 51443b6ee3
commit ca0ef7c270

View file

@ -32,7 +32,7 @@ RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \
# s6 overlay # s6 overlay
COPY docker/scripts/install-s6 /tmp/install-s6 COPY docker/scripts/install-s6 /tmp/install-s6
RUN /tmp/install-s6 "${TARGETPLATFORM}" && rm -f /tmp/install-s6 RUN chmod +x /tmp/install-s6 && /tmp/install-s6 "${TARGETPLATFORM}" && rm -f /tmp/install-s6
EXPOSE 80 81 443 51820/udp EXPOSE 80 81 443 51820/udp