Skip to content

Commit 11d2413

Browse files
committed
Run on Java 24
And use a version of libexpat without vulns
1 parent a61656b commit 11d2413

File tree

10 files changed

+18
-24
lines changed

10 files changed

+18
-24
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,21 @@ jobs:
1818
- wiremock/wiremock:test
1919
PLATFORMS:
2020
- linux/amd64
21-
- linux/arm64
22-
- linux/arm/v7
21+
- linux/arm64/v8
2322
- CONTEXT: alpine
2423
TAGS:
2524
- wiremock/wiremock:test-alpine
2625
PLATFORMS:
2726
- linux/amd64
2827

2928
steps:
30-
29+
3130
- name: Set up QEMU
3231
uses: docker/setup-qemu-action@v2
3332
with:
3433
image: tonistiigi/binfmt:latest
3534
platforms: all
36-
35+
3736
- name: Set up Docker Buildx
3837
uses: docker/setup-buildx-action@v2
3938

@@ -65,7 +64,7 @@ jobs:
6564
java-version: 11
6665
distribution: 'temurin'
6766
cache: maven
68-
67+
6968
- name: Run integration test
7069
working-directory: test/integration-tests
7170
run: mvn -B -ntp package verify --file pom.xml -DargLine="-Dit.wiremock-image=${{ matrix.versions.TAGS[0] }}"
@@ -75,4 +74,4 @@ jobs:
7574
needs: docker-build
7675
with:
7776
image_version: latest
78-
secrets: inherit
77+
secrets: inherit

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
- ghcr.io/wiremock/wiremock:3x
2020
PLATFORMS:
2121
- linux/amd64
22-
- linux/arm64
23-
- linux/arm/v7
22+
- linux/arm64/v8
2423
- CONTEXT: alpine
2524
TAGS:
2625
- wiremock/wiremock:3x-alpine
@@ -68,7 +67,7 @@ jobs:
6867
java-version: 11
6968
distribution: 'temurin'
7069
cache: maven
71-
70+
7271
- name: Run integration test
7372
working-directory: test/integration-tests
7473
run: mvn -B -ntp package verify --file pom.xml -DargLine="-Dit.wiremock-image=${{ matrix.versions.TAGS[0] }}"

.github/workflows/nightly.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
- ghcr.io/wiremock/wiremock:nightly
2020
PLATFORMS:
2121
- linux/amd64
22-
- linux/arm64
23-
- linux/arm/v7
22+
- linux/arm64/v8
2423
- CONTEXT: alpine
2524
TAGS:
2625
- wiremock/wiremock:nightly-alpine
@@ -72,7 +71,7 @@ jobs:
7271
java-version: 11
7372
distribution: 'temurin'
7473
cache: maven
75-
74+
7675
- name: Run integration test
7776
working-directory: test/integration-tests
7877
run: mvn -B -ntp package verify --file pom.xml -DargLine="-Dit.wiremock-image=${{ matrix.versions.TAGS[0] }}"

.github/workflows/patch.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ jobs:
2222
- ghcr.io/wiremock/wiremock:${{ github.event.inputs.tag }}
2323
PLATFORMS:
2424
- linux/amd64
25-
- linux/arm64
26-
- linux/arm/v7
25+
- linux/arm64/v8
2726
- CONTEXT: alpine
2827
IMAGES:
2928
- wiremock/wiremock:latest-alpine

.github/workflows/release-2.x.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ jobs:
4242
- ghcr.io/wiremock/wiremock:${{ needs.check-new-version.outputs.new_version }}
4343
PLATFORMS:
4444
- linux/amd64
45-
- linux/arm64
46-
- linux/arm/v7
45+
- linux/arm64/v8
4746
- CONTEXT: alpine
4847
IMAGES:
4948
- wiremock/wiremock:${{ needs.check-new-version.outputs.new_version }}-alpine

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ jobs:
4545
- ghcr.io/wiremock/wiremock:${{ needs.check-new-version.outputs.new_version }}
4646
PLATFORMS:
4747
- linux/amd64
48-
- linux/arm64
49-
- linux/arm/v7
48+
- linux/arm64/v8
5049
- CONTEXT: alpine
5150
IMAGES:
5251
- wiremock/wiremock:latest-alpine

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:11.0.24_8-jre
1+
FROM eclipse-temurin:24_36-jre
22

33
LABEL maintainer="Rodolphe CHAIGNEAU <[email protected]>"
44

Dockerfile-nightly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN ./gradlew shadowJar
1212

1313
# RUN
1414

15-
FROM eclipse-temurin:11.0.24_8-jre
15+
FROM eclipse-temurin:24_36-jre
1616

1717
LABEL maintainer="Rodolphe CHAIGNEAU <[email protected]>"
1818

alpine/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:11-jre-alpine
1+
FROM eclipse-temurin:24_36-jre-alpine-3.21
22

33
LABEL maintainer="Rodolphe CHAIGNEAU <[email protected]>"
44

@@ -7,7 +7,7 @@ ENV WIREMOCK_VERSION=$WIREMOCK_VERSION
77

88
WORKDIR /home/wiremock
99

10-
RUN apk add --update openssl
10+
RUN apk add --update openssl libexpat
1111

1212
# grab su-exec for easy step-down from root
1313
# and bash

alpine/Dockerfile-nightly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ RUN ./gradlew shadowJar
1010

1111
# RUN
1212

13-
FROM eclipse-temurin:11.0.20_8-jre-alpine
13+
FROM eclipse-temurin:24_36-jre-alpine-3.21
1414

1515
LABEL maintainer="Rodolphe CHAIGNEAU <[email protected]>"
1616

1717
WORKDIR /home/wiremock
1818

19-
RUN apk add --update openssl
19+
RUN apk add --update openssl libexpat
2020

2121
# grab su-exec for easy step-down from root
2222
# and bash

0 commit comments

Comments
 (0)