mirror of
https://github.com/N0rthernL1ghts/s6-rootfs.git
synced 2025-12-09 13:02:39 +01:00
fe7a908bb08b470fd00b95c62aacda652287778d
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 2.2.0 to 2.3.0. - [Release notes](https://github.com/docker/bake-action/releases) - [Commits](https://github.com/docker/bake-action/compare/v2.2.0...v2.3.0) --- updated-dependencies: - dependency-name: docker/bake-action 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
Usage
COPY --from=nlss/s6-rootfs:latest ["/", "/"]
or with fixed version:
COPY --from=nlss/s6-rootfs:3.1.2.1 ["/", "/"]
That's it!
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=nlss/s6-rootfs:3.1.2.1 ["/", "/"]
# ---------------------
# Build image
# ---------------------
FROM alpine:latest
COPY --from=rootfs ["/", "/"]
RUN apk add --update --no-cache nano
Description
Languages
HCL
73%
Dockerfile
27%