Skip to content

Commit

Permalink
* Try to revert to ubuntu based images to fix pi4 regression
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Sobiech <[email protected]>
  • Loading branch information
psobiech committed Jan 23, 2024
1 parent 27ad1de commit dfc09c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup master branche locally
- name: Setup master branch locally
continue-on-error: true
run: |
git fetch origin master:master
- name: Setup develop branche locally
- name: Setup develop branch locally
continue-on-error: true
run: |
git fetch origin develop:develop
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ COPY .git .git

RUN mvn -B -T 4 -pl '!modules/client' clean package -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.test.skip=true -Dmaven.site.skip=true -Dmaven.source.skip=true -Dmaven.javadoc.skip=true

FROM --platform=$BUILDPLATFORM eclipse-temurin:21-alpine AS jre-build
FROM --platform=$BUILDPLATFORM eclipse-temurin:21 AS jre-build

RUN mkdir -p /opt/build
WORKDIR /opt/build
Expand All @@ -54,7 +54,7 @@ RUN $JAVA_HOME/bin/jlink \
--compress=2 \
--output /opt/build/jre

FROM --platform=$BUILDPLATFORM alpine:latest AS app-runtime
FROM --platform=$BUILDPLATFORM ubuntu:22.04 AS app-runtime

ENV JAVA_HOME=/opt/java/openjdk
ENV PATH "${JAVA_HOME}/bin:${PATH}"
Expand Down

0 comments on commit dfc09c4

Please sign in to comment.