Nothing but s6-overlay
Go to file
dependabot[bot] 211212d03f
Bump alpine from 3.15 to 3.17
Bumps alpine from 3.15 to 3.17.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 11:06:56 +00:00
.github Replace build file with docker/bake-action and implement GHA cache 2022-09-13 23:23:11 +02:00
build Simplify 2022-09-14 00:56:16 +02:00
Dockerfile Bump alpine from 3.15 to 3.17 2023-02-27 11:06:56 +00:00
Dockerfile.legacy Bump alpine from 3.15 to 3.17 2023-02-27 11:06:56 +00:00
README.md Update with instructions 2022-09-14 01:54:54 +02:00

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!

# ---------------------
# 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