dependabot[bot] 5cccae10b9 Bump alpine from 3.22 to 3.23
Bumps alpine from 3.22 to 3.23.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: '3.23'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 10:03:58 +00:00
2025-11-21 10:05:07 +00:00
2025-03-13 04:15:14 +01:00
2025-12-08 10:03:58 +00:00
2025-03-02 00:12:15 +01:00

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.

# ---------------------
# 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
Nothing but s6-overlay
Readme 213 KiB
Languages
HCL 73%
Dockerfile 27%