Skip to content

Commit c331521

Browse files
Updates to Alpine 3.20.3 (#47)
Signed-off-by: Adrian Cole <[email protected]>
1 parent 3126e5b commit c331521

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
deploy:
14-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
14+
runs-on: ubuntu-24.04 # newest available distribution, aka numbat
1515
steps:
1616
- name: Checkout Repository
1717
uses: actions/checkout@v4

.github/workflows/security.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on: # yamllint disable-line rule:truthy
2323
jobs:
2424
security:
2525
name: security
26-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
26+
runs-on: ubuntu-24.04 # newest available distribution, aka numbat
2727
# skip commits made by the release plugin
2828
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
2929
steps:
@@ -38,6 +38,9 @@ jobs:
3838
- name: Run Trivy vulnerability and secret scanner
3939
uses: aquasecurity/trivy-action@master
4040
id: trivy
41+
env: # See https://github.com/aquasecurity/trivy/discussions/7668
42+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
43+
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db
4144
with:
4245
scan-type: 'fs'
4346
scan-ref: '.' # scan the entire repository

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
test:
19-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
19+
runs-on: ubuntu-24.04 # newest available distribution, aka numbat
2020
steps:
2121
- name: Checkout Repository
2222
uses: actions/checkout@v4

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# When updating, update the README and the alpine_version ARG
1919
# * Use current version from https://alpinelinux.org/downloads/
2020
# * ARGs repeat because Dockerfile ARGs are layer specific but will reuse the value defined here.
21-
ARG alpine_version=3.20.2
21+
ARG alpine_version=3.20.3
2222

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

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

3434
WORKDIR /code
3535
# Conditions aren't supported in Dockerfile instructions, so we copy source even if it isn't used.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ This is an internal base layer primarily used in [docker-java](https://github.co
1313

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

2020
## Release process
2121
Build the `Dockerfile` using the current version from https://alpinelinux.org/downloads/:
2222
```bash
23-
# Note 3.20.2 not 3.19!
24-
./build-bin/build 3.20.2
23+
# Note 3.20.3 not 3.20!
24+
./build-bin/build 3.20.3
2525
```
2626

2727
Next, verify the built image matches that version:
2828
```bash
2929
docker run --rm openzipkin/alpine:test -c 'cat /etc/alpine-release'
30-
3.20.2
30+
3.20.3
3131
```
3232

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

0 commit comments

Comments
 (0)