mirror of
https://github.com/N0rthernL1ghts/s6-rootfs.git
synced 2025-12-08 14:02:42 +01:00
dependabot/github_actions/docker/bake-action-6.10.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 6.8.0 to 6.10.0. - [Release notes](https://github.com/docker/bake-action/releases) - [Commits](https://github.com/docker/bake-action/compare/v6.8.0...v6.10.0) --- updated-dependencies: - dependency-name: docker/bake-action dependency-version: 6.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
S6-overlay rootfs
The simplest and fastest way to get S6 supervisor in your image
This docker image packages s6 supervisor overlay based on https://github.com/just-containers/s6-overlay releases.
NOTE: GitHub Actions builds are currently broken. Images are, however manually built, so you should be still getting latest version.
Usage
COPY --from=ghcr.io/n0rthernl1ghts/s6-rootfs:latest ["/", "/"]
or with fixed version:
COPY --from=ghcr.io/n0rthernl1ghts/s6-rootfs:3.2.0.2 ["/", "/"]
That's it!
Note: We have moved to ghcr.io. Docker hub docker.io/nlss/s6-rootfs builds are discontinued.
Recommended way to integrate with your image (example)
# ---------------------
# Build root filesystem
# ---------------------
FROM scratch AS rootfs
# Copy over base files
COPY ["./rootfs", "/"]
# Install S6
COPY --from=ghcr.io/n0rthernl1ghts/s6-rootfs:3.2.0.2 ["/", "/"]
# ---------------------
# Build image
# ---------------------
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"]
Description
Languages
HCL
73%
Dockerfile
27%