mirror of
https://github.com/N0rthernL1ghts/s6-rootfs.git
synced 2024-11-23 13:03:29 +01:00
Update readme
- Add missing entrypoint directive to the example - Add example configuration that can be passed to S6
This commit is contained in:
parent
cbd004f849
commit
3b7a3541af
|
@ -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"]
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user