From efd65c50f5b6fca2cecbb5dd2107beaecd3fce8d Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Sat, 25 May 2024 06:44:37 +0800 Subject: [PATCH] Bumps to Alpine 3.20.0 Signed-off-by: Adrian Cole --- Dockerfile | 2 +- README.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c88b63..cc70539 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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.19.1 +ARG alpine_version=3.20.0 # 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. diff --git a/README.md b/README.md index 30e6bf4..52b34d0 100644 --- a/README.md +++ b/README.md @@ -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.19.1 +docker run -ti --rm ghcr.io/openzipkin/alpine:3.20.0 / # ``` ## Release process Build the `Dockerfile` using the current version from https://alpinelinux.org/downloads/: ```bash -# Note 3.19.1 not 3.19! -./build-bin/build 3.19.1 +# Note 3.20.0 not 3.19! +./build-bin/build 3.20.0 ``` Next, verify the built image matches that version: ```bash docker run --rm openzipkin/alpine:test -c 'cat /etc/alpine-release' -3.19.1 +3.20.0 ``` -To release the image, push a tag matching the arg to `build-bin/build` (ex `3.19.1`). +To release the image, push a tag matching the arg to `build-bin/build` (ex `3.20.0`). This triggers a [GitHub Actions](https://github.com/openzipkin/docker-alpine/actions) job to push the image.