[ GitHub ] [ DockerHub ] [ s6-overlay GitHub ]
This docker image provides an easy way to copy the platform specific installer for s6-overlay into your image.
COPY --from=peterberweiler/s6-overlay-installer:latest /installer /tmp/s6-overlay-installer
RUN chmod +x /tmp/s6-overlay-installer && /tmp/s6-overlay-installer /
✔ Tested: amd64, arm/v7
❌ Untested: arm64, ppc64le, arm/v6, riscv64, mips64le, mips64, s390x, 386
FROM nginx
COPY --from=peterberweiler/s6-overlay-installer:latest /installer /tmp/s6-overlay-installer
RUN chmod +x /tmp/s6-overlay-installer && /tmp/s6-overlay-installer /
RUN mv /docker-entrypoint.sh /etc/cont-init.d/nginx-setup.sh
ENTRYPOINT ["/init"]
CMD ["nginx", "-g", "daemon off;"]latest, v2.2.0.3