File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 1717# docker run -i --rm -p 8081:8081 -p 5005:5005 -e JAVA_ENABLE_DEBUG="true" quarkus/code-with-quarkus-jvm
1818#
1919###
20- FROM registry.access.redhat.com/ubi8/openjdk-11:latest
20+ FROM registry.access.redhat.com/ubi8/openjdk-17:1.14-10.1675788279
2121
22- USER root
2322WORKDIR /build
24- RUN mkdir -p .mvn/wrapper
25- # Build dependency offline to streamline build
26- COPY mvnw* .
27- COPY .mvn/wrapper .mvn/wrapper
23+
2824COPY pom.xml .
29- RUN ./mvnw dependency:go-offline
25+ RUN mvn dependency:go-offline
3026
3127COPY src src
32- RUN ./mvnw package
28+ RUN mvn package -Dmaven.test.skip=true
3329
34- FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3
30+ FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7-1085
3531
36- ARG JAVA_PACKAGE=java-11 -openjdk-headless
32+ ARG JAVA_PACKAGE=java-17 -openjdk-devel
3733ARG RUN_JAVA_VERSION=1.3.8
3834ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en'
3935# Install java and the run-java script
You can’t perform that action at this time.
0 commit comments