Skip to content

Commit

Permalink
feat: update to onecx docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras committed Feb 3, 2024
1 parent 3c74345 commit 4c13f5b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
8 changes: 7 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@ updates:
schedule:
interval: daily
labels:
- dependencies
- dependencies
- package-ecosystem: "docker"
directory: "/src/main/docker"
schedule:
interval: daily
labels:
- docker-image
2 changes: 1 addition & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ on:

jobs:
pr:
uses: onecx/ci-quarkus/.github/workflows/build-pr.yml@v1
uses: onecx/ci-quarkus/.github/workflows/build-pr.yml@f1
secrets: inherit

8 changes: 1 addition & 7 deletions src/main/docker/Dockerfile.jvm
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
FROM registry.access.redhat.com/ubi9/openjdk-17:1.15

ENV LANGUAGE='en_US:en'
FROM ghcr.io/onecx/docker-quarkus-jvm:0.2.0

COPY --chown=185 target/quarkus-app/lib/ /deployments/lib/
COPY --chown=185 target/quarkus-app/*.jar /deployments/
COPY --chown=185 target/quarkus-app/app/ /deployments/app/
COPY --chown=185 target/quarkus-app/quarkus/ /deployments/quarkus/

EXPOSE 8080
USER 185
ENV JAVA_OPTS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
ENV JAVA_APP_JAR="/deployments/quarkus-run.jar"
3 changes: 2 additions & 1 deletion src/main/docker/Dockerfile.native
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.2
FROM ghcr.io/onecx/docker-quarkus-native:0.0.0

WORKDIR /work/
RUN chown 1001 /work \
&& chmod "g+rwX" /work \
Expand Down

0 comments on commit 4c13f5b

Please sign in to comment.