Skip to content

Commit

Permalink
Updates to Alpine 3.20.3
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
codefromthecrypt committed Nov 19, 2024
1 parent 3126e5b commit 1746df6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# When updating, update the README and the alpine_version ARG
# * Use current version from https://alpinelinux.org/downloads/
# * ARGs repeat because Dockerfile ARGs are layer specific but will reuse the value defined here.
ARG alpine_version=3.20.2
ARG alpine_version=3.20.3

# We copy files from the context into a scratch container first to avoid a problem where docker and
# docker-compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.
Expand All @@ -29,7 +29,7 @@ COPY . /code/

# See from a previously published version to avoid pulling from Docker Hub (docker.io)
# This version is only used to install the real version
FROM ghcr.io/openzipkin/alpine:3.20.0 as install
FROM ghcr.io/openzipkin/alpine:3.20.2 as install

WORKDIR /code
# Conditions aren't supported in Dockerfile instructions, so we copy source even if it isn't used.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ This is an internal base layer primarily used in [docker-java](https://github.co

To browse the image, run it in interactive mode with TTY enabled like so:
```bash
docker run -ti --rm ghcr.io/openzipkin/alpine:3.20.2
docker run -ti --rm ghcr.io/openzipkin/alpine:3.20.3
/ #
```

## Release process
Build the `Dockerfile` using the current version from https://alpinelinux.org/downloads/:
```bash
# Note 3.20.2 not 3.19!
./build-bin/build 3.20.2
# Note 3.20.3 not 3.20!
./build-bin/build 3.20.3
```

Next, verify the built image matches that version:
```bash
docker run --rm openzipkin/alpine:test -c 'cat /etc/alpine-release'
3.20.2
3.20.3
```

To release the image, push a tag matching the arg to `build-bin/build` (ex `3.20.2`).
To release the image, push a tag matching the arg to `build-bin/build` (ex `3.20.3`).
This triggers a [GitHub Actions](https://github.com/openzipkin/docker-alpine/actions) job to push the image.

0 comments on commit 1746df6

Please sign in to comment.