Skip to content

Commit

Permalink
Merge pull request #197 from infosiftr/alpine3.20
Browse files Browse the repository at this point in the history
Update to Alpine 3.20
  • Loading branch information
tianon authored May 22, 2024
2 parents 97f7e44 + d43ba9b commit d40b612
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/munge-unstable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jq '
.matrix.include[]
| select(.name | test(" [(].+[)]") | not) # ignore any existing munged builds
| select(.os | startswith("windows-") | not)
| select(.meta.froms | any(startswith("debian:") or startswith("alpine:")))
| select(.meta.froms | any(startswith("debian:")))
| .name += " (unstable)"
| .runs.prepare += ([
"./hack-unstable.sh " + (.meta.entries[].directory | @sh),
Expand Down
5 changes: 1 addition & 4 deletions Dockerfile-builder.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ if env.variant == "musl" then ( -}}
FROM alpine:3.19
FROM alpine:3.20

RUN set -eux; \
apk add --no-cache \
Expand All @@ -16,9 +16,6 @@ RUN set -eux; \
# busybox's tar ironically does not maintain mtime of directories correctly (which we need for SOURCE_DATE_EPOCH / reproducibility)
tar \
;

# https://github.com/alpinelinux/docker-alpine/issues/383
RUN set -eux; if grep -qF '/edge/' '/etc/apk/repositories'; then apk upgrade --no-cache libssl3 libcrypto3; curl --version; dirmngr --version; fi
{{ ) else ( -}}
FROM debian:bookworm-slim

Expand Down
1 change: 0 additions & 1 deletion hack-unstable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ set -x
# This is used to modify "Dockerfile.builder" for architectures that are not (yet) supported by stable releases (notably, riscv64).
sed -ri \
-e 's/^(FROM debian:)[^ -]+/\1unstable/g' \
-e 's/^(FROM alpine:)[^ -]+/\1edge/g' \
"${@/%//Dockerfile.builder}"
5 changes: 1 addition & 4 deletions latest-1/musl/Dockerfile.builder

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions latest-1/musl/amd64/image-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"history": [
{
"created": "2021-12-26T16:56:57Z",
"created_by": "BusyBox 1.35.0 (musl), Alpine 3.19.1"
"created_by": "BusyBox 1.35.0 (musl), Alpine 3.20.0"
}
],
"rootfs": {
"type": "layers",
"diff_ids": [
"sha256:e81af897a6ed42bf107335af397aee8b165cb545b01ebdda4cbd9fff72c51fdb"
"sha256:94e0f174de0cfbe45e6120a840948123116ed3abb55cb023c10de16b808b935b"
]
},
"architecture": "amd64",
Expand Down
6 changes: 3 additions & 3 deletions latest-1/musl/amd64/image-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:f36b741eb9675622ca20443a43b42d5dae106e346115faf4b4604a51e63bd421",
"digest": "sha256:4be3e63228b904f37e4e761ca32b93247afb159b5e09613a8aafb4c2e71243bf",
"size": 375
},
"layers": [
{
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
"digest": "sha256:7e3712170429f1cb4fc838e6ec80548d6af2778301f3c88a57e4178d7aa16818",
"size": 849546
"digest": "sha256:d4939ac1b9d185464548f0b439a045c00650eb998c51a88ed637b9b4bc569f89",
"size": 849283
}
],
"annotations": {
Expand Down
2 changes: 1 addition & 1 deletion latest-1/musl/amd64/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:ab169714e570fc081439d21c6fefccdc40841c722a5ced84af57da7ccacce8e3",
"digest": "sha256:bd060a885638c42149802c64c92784987012c6a44d6ddc18e7f7a4951d559c7e",
"size": 608,
"platform": {
"architecture": "amd64",
Expand Down
5 changes: 1 addition & 4 deletions latest/musl/Dockerfile.builder

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions latest/musl/amd64/image-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"history": [
{
"created": "2023-05-18T22:34:17Z",
"created_by": "BusyBox 1.36.1 (musl), Alpine 3.19.1"
"created_by": "BusyBox 1.36.1 (musl), Alpine 3.20.0"
}
],
"rootfs": {
"type": "layers",
"diff_ids": [
"sha256:994bf8f4adc78c5c1e4a6b5e3b59ad57902b301e0e79255a3e95ea4b213a76bd"
"sha256:c3136a3b698a9f25d09d8169258a08c3d3965f065186fe2a91549859fa45d1cc"
]
},
"architecture": "amd64",
Expand Down
6 changes: 3 additions & 3 deletions latest/musl/amd64/image-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:6e5e0f90c009d12db9478afe5656920e7bdd548e9fd8f50eab2be694102ae318",
"digest": "sha256:615b080b9dbe1288d4b5a69a8344905e8a3181a02f251216b104b4daea5c3984",
"size": 375
},
"layers": [
{
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
"digest": "sha256:d6e6e2f0bb218b28aaad3f646fd30a36549d61bfbbdd7ad5d1d75b9d9e671297",
"size": 852587
"digest": "sha256:da76cf628912174a928f788a59ff847a686ce63d9a86ca3ece325fbfc8443b99",
"size": 852608
}
],
"annotations": {
Expand Down
2 changes: 1 addition & 1 deletion latest/musl/amd64/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:b9d056b83bb6446fee29e89a7fcf10203c562c1f59586a6e2f39c903597bda34",
"digest": "sha256:6d9a2e77c3b19944a28c3922f5715ede91c1ae869d91edf5f6adf88ed54e97cf",
"size": 608,
"platform": {
"architecture": "amd64",
Expand Down

0 comments on commit d40b612

Please sign in to comment.