diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 64412da..f5ae8ec 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,4 +5,10 @@ updates: schedule: interval: daily labels: - - dependencies \ No newline at end of file + - dependencies + - package-ecosystem: "docker" + directory: "/src/main/docker" + schedule: + interval: daily + labels: + - docker-image \ No newline at end of file diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 8414a6a..588efe3 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -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 diff --git a/src/main/docker/Dockerfile.jvm b/src/main/docker/Dockerfile.jvm index a554421..e15c63b 100644 --- a/src/main/docker/Dockerfile.jvm +++ b/src/main/docker/Dockerfile.jvm @@ -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" \ No newline at end of file diff --git a/src/main/docker/Dockerfile.native b/src/main/docker/Dockerfile.native index c97f217..bd042c5 100644 --- a/src/main/docker/Dockerfile.native +++ b/src/main/docker/Dockerfile.native @@ -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 \