Skip to content
Merged
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: 10 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ jobs:
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
# setup-java's liberica distribution can't select 25.0.5.0.3+5 (it maps to the same
# semver as 25.0.5.0.2+5), so download the exact eMudhra-fixed build and install it.
# SHA-256 computed from the tarball after checking it against BellSoft's published SHA-1.
- name: Download Liberica JDK 25.0.5.0.3+5
run: |
curl --proto '=https' --tlsv1.2 -fsSL -o "$RUNNER_TEMP/liberica.tar.gz" "https://github.com/bell-sw/Liberica/releases/download/25.0.5.0.3+5/bellsoft-jdk25.0.5.0.3+5-linux-amd64.tar.gz"
echo "619c84961ce12dd1cd455719680e22d080bee63dbfe64711e2ef47243114e3ef $RUNNER_TEMP/liberica.tar.gz" | sha256sum -c -
- uses: actions/setup-java@v6.1.0
with:
java-version: 25.0.4+9
distribution: liberica
distribution: jdkfile
jdkFile: ${{ runner.temp }}/liberica.tar.gz
java-version: 25.0.5
- name: Cache Maven dependencies
uses: actions/cache@v6.1.0
with:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM bellsoft/liberica-openjre-alpine:25.0.4.1 AS builder
FROM bellsoft/liberica-openjre-alpine:25.0.5.0.3-5 AS builder
WORKDIR /builder
COPY target/*-SNAPSHOT.jar application.jar
RUN java -Djarmode=tools -jar application.jar extract --layers --destination extracted

FROM bellsoft/liberica-openjre-alpine:25.0.4.1
FROM bellsoft/liberica-openjre-alpine:25.0.5.0.3-5
RUN apk update && apk upgrade && apk add --no-cache tini
WORKDIR /deployments
RUN addgroup appuser && adduser --disabled-password appuser --ingroup appuser
Expand Down
Loading