Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [ "main" ]
pull_request:
types: [ 'opened', 'synchronize' ]
branches: [ "main" ]
workflow_dispatch:

Expand All @@ -18,22 +19,21 @@ jobs:
- wiremock/wiremock:test
PLATFORMS:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm64/v8
- CONTEXT: alpine
TAGS:
- wiremock/wiremock:test-alpine
PLATFORMS:
- linux/amd64

steps:

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
image: tonistiigi/binfmt:latest
platforms: all

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
java-version: 11
distribution: 'temurin'
cache: maven

- name: Run integration test
working-directory: test/integration-tests
run: mvn -B -ntp package verify --file pom.xml -DargLine="-Dit.wiremock-image=${{ matrix.versions.TAGS[0] }}"
Expand All @@ -75,4 +75,4 @@ jobs:
needs: docker-build
with:
image_version: latest
secrets: inherit
secrets: inherit
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
- ghcr.io/wiremock/wiremock:3x
PLATFORMS:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm64/v8
- CONTEXT: alpine
TAGS:
- wiremock/wiremock:3x-alpine
Expand Down Expand Up @@ -68,7 +67,7 @@ jobs:
java-version: 11
distribution: 'temurin'
cache: maven

- name: Run integration test
working-directory: test/integration-tests
run: mvn -B -ntp package verify --file pom.xml -DargLine="-Dit.wiremock-image=${{ matrix.versions.TAGS[0] }}"
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
- ghcr.io/wiremock/wiremock:nightly
PLATFORMS:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm64/v8
- CONTEXT: alpine
TAGS:
- wiremock/wiremock:nightly-alpine
Expand Down Expand Up @@ -72,7 +71,7 @@ jobs:
java-version: 11
distribution: 'temurin'
cache: maven

- name: Run integration test
working-directory: test/integration-tests
run: mvn -B -ntp package verify --file pom.xml -DargLine="-Dit.wiremock-image=${{ matrix.versions.TAGS[0] }}"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
- ghcr.io/wiremock/wiremock:${{ github.event.inputs.tag }}
PLATFORMS:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm64/v8
- CONTEXT: alpine
IMAGES:
- wiremock/wiremock:latest-alpine
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
- ghcr.io/wiremock/wiremock:${{ needs.check-new-version.outputs.new_version }}
PLATFORMS:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm64/v8
- CONTEXT: alpine
IMAGES:
- wiremock/wiremock:${{ needs.check-new-version.outputs.new_version }}-alpine
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ jobs:
- ghcr.io/wiremock/wiremock:${{ needs.check-new-version.outputs.new_version }}
PLATFORMS:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm64/v8
- CONTEXT: alpine
IMAGES:
- wiremock/wiremock:latest-alpine
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:11.0.24_8-jre
FROM eclipse-temurin:24_36-jre

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

Expand All @@ -10,10 +10,11 @@ WORKDIR /home/wiremock

# grab gosu for easy step-down from root
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends ca-certificates curl; \
# save list of currently installed packages for later so we can clean up
savedAptMark="$(apt-mark showmanual)"; \
apt-get update; \
apt-get install -y --no-install-recommends ca-certificates wget; \
apt-get install -y --no-install-recommends wget; \
if ! command -v gpg; then \
apt-get install -y --no-install-recommends gnupg2 dirmngr; \
elif gpg --version | grep -q '^gpg (GnuPG) 1\.'; then \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-nightly
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN ./gradlew shadowJar

# RUN

FROM eclipse-temurin:11.0.24_8-jre
FROM eclipse-temurin:24_36-jre

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

Expand Down
4 changes: 2 additions & 2 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:11-jre-alpine
FROM eclipse-temurin:24_36-jre-alpine-3.21

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

Expand All @@ -7,7 +7,7 @@ ENV WIREMOCK_VERSION=$WIREMOCK_VERSION

WORKDIR /home/wiremock

RUN apk add --update openssl
RUN apk add --update openssl libexpat

# grab su-exec for easy step-down from root
# and bash
Expand Down
4 changes: 2 additions & 2 deletions alpine/Dockerfile-nightly
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ RUN ./gradlew shadowJar

# RUN

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

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

WORKDIR /home/wiremock

RUN apk add --update openssl
RUN apk add --update openssl libexpat

# grab su-exec for easy step-down from root
# and bash
Expand Down