16 Commits

Author SHA1 Message Date
0dff2e2eda Add versions 3.2.0.0, 3.2.0.1 and 3.2.0.2 2025-03-02 00:05:37 +01:00
d5c6850960 Stop using deprecated TARGETPLATFORM @ FROM directives 2025-03-01 23:57:27 +01:00
3c24c63a3b Add note about broken GHA builds 2025-03-01 23:53:31 +01:00
b5b8811d71 Update comment 2025-03-01 23:51:46 +01:00
77a6a1ae38 Remove dockerhub 2025-03-01 23:44:32 +01:00
0bfc6f469c Merge pull request #37 from N0rthernL1ghts/dependabot/github_actions/docker/bake-action-6.5.0
Bump docker/bake-action from 6.4.0 to 6.5.0
2025-03-01 23:35:26 +01:00
dependabot[bot]
72054b6337 Bump docker/bake-action from 6.4.0 to 6.5.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 6.4.0 to 6.5.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v6.4.0...v6.5.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>
2025-02-27 10:44:57 +00:00
28d2032581 Merge pull request #35 from N0rthernL1ghts/dependabot/github_actions/docker/bake-action-6.4.0
Bump docker/bake-action from 4.1.0 to 6.4.0
2025-02-24 18:36:20 +01:00
5df5a0b695 Merge pull request #36 from N0rthernL1ghts/dependabot/docker/alpine-3.21
Bump alpine from 3.20 to 3.21
2025-02-24 18:34:25 +01:00
dependabot[bot]
8a0aa787ba Bump alpine from 3.20 to 3.21
Bumps alpine from 3.20 to 3.21.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 11:57:22 +00:00
dependabot[bot]
659a9bf2ee Bump docker/bake-action from 4.1.0 to 6.4.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 4.1.0 to 6.4.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v4.1.0...v6.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 11:03:51 +00:00
9ec886c907 Merge pull request #24 from N0rthernL1ghts/dependabot/docker/alpine-3.20
Bump alpine from 3.19 to 3.20
2025-02-22 16:38:59 +01:00
dependabot[bot]
74ab34ea96 Bump alpine from 3.19 to 3.20
Bumps alpine from 3.19 to 3.20.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 10:11:45 +00:00
3d259d126a Add support for s6-overlay v3.1.6.2 2024-05-15 00:54:23 +02:00
2b4369eece Add support for s6-overlay v3.1.6.1 2024-05-15 00:53:40 +02:00
4774e6ba1b Add support for s6-overlay v3.1.6.0 2024-05-15 00:49:58 +02:00
5 changed files with 71 additions and 14 deletions

View File

@@ -36,7 +36,7 @@ jobs:
password: ${{secrets.PAT_TOKEN}}
-
name: Build and push
uses: docker/bake-action@v4.1.0
uses: docker/bake-action@v6.5.0
with:
files: build/docker-bake.hcl
push: true

View File

@@ -1,4 +1,4 @@
ARG S6_OVERLAY_VERSION="3.1.0.0"
ARG S6_OVERLAY_VERSION="3.2.0.2"
ARG S6_OVERLAY_RELEASE="https://github.com/just-containers/s6-overlay/releases/download/"
ARG S6_OVERLAY_PAK_EXT=".tar.xz"
@@ -11,7 +11,7 @@ ADD "${S6_OVERLAY_RELEASE}/v${S6_OVERLAY_VERSION}/s6-overlay-noarch${S6_OVERLAY_
# Second stage - Download s6-overlay platform-dependent binaries and unpack
FROM --platform=${TARGETPLATFORM} alpine:3.19 AS downloader-s6-bin
FROM alpine:3.21 AS downloader-s6-bin
ARG TARGETPLATFORM
ARG S6_OVERLAY_VERSION
ARG S6_OVERLAY_RELEASE
@@ -26,7 +26,7 @@ RUN set -eux \
# Third stage - Download s6-overlay platform-dependent hashes
FROM --platform=${TARGETPLATFORM} alpine:3.19 AS downloader-s6-sha256-sums
FROM alpine:3.21 AS downloader-s6-sha256-sums
ARG TARGETPLATFORM
ARG S6_OVERLAY_VERSION
ARG S6_OVERLAY_RELEASE
@@ -46,7 +46,7 @@ RUN set -eux \
# Fourth stage - Build rootfs from s6 parts
FROM alpine:3.19 AS rootfs-builder
FROM alpine:3.21 AS rootfs-builder
COPY --from=downloader-s6-sha256-sums ["/SHA256SUMS", "/"]
COPY --from=downloader-s6-base ["/s6overlay-base.tar.xz", "/s6overlay-base.tar.xz"]
@@ -66,4 +66,4 @@ FROM scratch AS s6-rootfs
LABEL maintainer="Aleksandar Puharic <aleksandar@puharic.com>"
COPY --from=rootfs-builder ["/rootfs-build/", "/"]
COPY --from=rootfs-builder ["/rootfs-build/", "/"]

View File

@@ -1,5 +1,5 @@
# First stage - Download s6-overlay and unpack it
FROM --platform=${TARGETPLATFORM} alpine:3.19 AS downloader
FROM alpine:3.21 AS downloader
ARG TARGETPLATFORM

View File

@@ -2,6 +2,8 @@
The simplest and fastest way to get S6 supervisor in your image
NOTE: GitHub Actions builds are currently broken. Images are, however manually built, so you should be still getting latest version.
### Usage
```Docker
COPY --from=ghcr.io/n0rthernl1ghts/s6-rootfs:latest ["/", "/"]
@@ -13,8 +15,7 @@ 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.<br/>
It is highly recommended that you start using `ghcr.io/n0rthernl1ghts/s6-rootfs`.
Note: We have moved to `ghcr.io`. Docker hub `docker.io/nlss/s6-rootfs` builds are discontinued.<br/>
###### Recommended way to integrate with your image (example)
```Docker

View File

@@ -1,5 +1,15 @@
group "default" {
targets = ["2_1_0_2", "2_2_0_0", "2_2_0_1", "2_2_0_2", "2_2_0_3", "3_0_0_0", "3_0_0_1", "3_0_0_2", "3_0_0_2-2", "3_1_0_0", "3_1_0_1", "3_1_1_0", "3_1_1_1", "3_1_1_2", "3_1_2_0", "3_1_2_1", "3_1_3_0", "3_1_4_0", "3_1_4_1", "3_1_4_2", "3_1_5_0"]
targets = [
"2_1_0_2", "2_2_0_0", "2_2_0_1",
"2_2_0_2", "2_2_0_3", "3_0_0_0",
"3_0_0_1", "3_0_0_2", "3_0_0_2-2",
"3_1_0_0", "3_1_0_1", "3_1_1_0",
"3_1_1_1", "3_1_1_2", "3_1_2_0",
"3_1_2_1", "3_1_3_0", "3_1_4_0",
"3_1_4_1", "3_1_4_2", "3_1_5_0",
"3_1_6_0", "3_1_6_1", "3_1_6_2",
"3_2_0_0", "3_2_0_1", "3_2_0_2"
]
}
target "build-dockerfile" {
@@ -19,7 +29,7 @@ target "build-common" {
}
variable "REGISTRY_CACHE" {
default = "docker.io/nlss/s6-rootfs-cache"
default = "ghcr.io/n0rthernl1ghts/s6-rootfs-cache"
}
######################
@@ -68,12 +78,10 @@ function "get-tags" {
params = [version, extra_versions]
result = concat(
[
"docker.io/nlss/s6-rootfs:${version}",
"ghcr.io/n0rthernl1ghts/s6-rootfs:${version}"
],
flatten([
for extra_version in extra_versions : [
"docker.io/nlss/s6-rootfs:${extra_version}",
"ghcr.io/n0rthernl1ghts/s6-rootfs:${extra_version}"
]
])
@@ -248,6 +256,54 @@ target "3_1_5_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("3.1.5.0")
cache-to = get-cache-to("3.1.5.0")
tags = get-tags("3.1.5.0", ["3.1", "3.1.5", "latest"])
tags = get-tags("3.1.5.0", ["3.1.5"])
args = get-args("3.1.5.0")
}
target "3_1_6_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("3.1.6.0")
cache-to = get-cache-to("3.1.6.0")
tags = get-tags("3.1.6.0", [])
args = get-args("3.1.6.0")
}
target "3_1_6_1" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("3.1.6.1")
cache-to = get-cache-to("3.1.6.1")
tags = get-tags("3.1.6.1", [])
args = get-args("3.1.6.1")
}
target "3_1_6_2" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("3.1.6.2")
cache-to = get-cache-to("3.1.6.2")
tags = get-tags("3.1.6.2", ["3.1", "3.1.6"])
args = get-args("3.1.6.2")
}
target "3_2_0_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("3.2.0.0")
cache-to = get-cache-to("3.2.0.0")
tags = get-tags("3.2.0.0", [])
args = get-args("3.2.0.0")
}
target "3_2_0_1" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("3.2.0.1")
cache-to = get-cache-to("3.2.0.1")
tags = get-tags("3.2.0.1", [])
args = get-args("3.2.0.0")
}
target "3_2_0_2" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("3.2.0.2")
cache-to = get-cache-to("3.2.0.2")
tags = get-tags("3.2.0.2", ["3.2", "3.2.0", "latest"])
args = get-args("3.2.0.2")
}