From 3b7a3541af2285e4705c30c2e88226b34fa97ffe Mon Sep 17 00:00:00 2001 From: xZero707 Date: Fri, 17 Mar 2023 17:45:02 +0100 Subject: [PATCH] Update readme - Add missing entrypoint directive to the example - Add example configuration that can be passed to S6 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 691427f..315614e 100644 --- a/README.md +++ b/README.md @@ -34,5 +34,14 @@ FROM alpine:latest COPY --from=rootfs ["/", "/"] RUN apk add --update --no-cache nano + +# S6 configuration - not required +# See: https://github.com/just-containers/s6-overlay#customizing-s6-overlay-behaviour +ENV S6_KEEP_ENVS6_KEEP_ENV=1 +ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 +ENV S6_CMD_RECEIVE_SIGNALS=1 + +# Important, this is required for S6 to work +ENTRYPOINT ["/init"] ```