Nothing but s6-overlay
Go to file
dependabot[bot] cb9c060731
Bump docker/login-action from 2 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 10:54:59 +00:00
.github Bump docker/login-action from 2 to 3 2023-09-12 10:54:59 +00:00
build Remove linux/armhf support 2023-06-15 09:58:06 +02:00
Dockerfile Bump alpine from 3.17 to 3.18 2023-05-15 10:59:30 +00:00
Dockerfile.legacy Bump alpine from 3.17 to 3.18 2023-05-15 10:59:30 +00:00
README.md Add support for ghcr.io 2023-04-11 12:43:59 +02:00

S6-overlay rootfs

The simplest and fastest way to get S6 supervisor in your image

Usage

COPY --from=ghcr.io/n0rthernl1ghts/s6-rootfs:latest ["/", "/"]

or with fixed version:

COPY --from=ghcr.io/n0rthernl1ghts/s6-rootfs:3.1.2.1 ["/", "/"]

That's it!

Note: We're moving to ghcr.io. docker.io/nlss/s6-rootfs will be kept up-to-date until May 2023, when is Docker sunsetting free teams.
It is highly recommended that you start using ghcr.io/n0rthernl1ghts/s6-rootfs.

# ---------------------
# Build root filesystem
# ---------------------
FROM scratch AS rootfs

# Copy over base files
COPY ["./rootfs", "/"]

# Install S6
COPY --from=ghcr.io/n0rthernl1ghts/s6-rootfs:3.1.2.1 ["/", "/"]


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