Skip to content

Commit a81f02d

Browse files
author
Алексеев Павел Леонидович
committed
CI: disable tests run on build native image
1 parent 62b8aa3 commit a81f02d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Dockerfile primary to have single well-known entrypoint
22
# From https://www.graalvm.org/latest/docs/getting-started/container-images/
3-
#FROM ghcr.io/graalvm/native-image-community:17 as builder
4-
#FROM quay.io/quarkus/ubi-quarkus-mandrel-builder-image:22.3-java17 as builder
53
FROM quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21 as builder
64

75
WORKDIR /app
@@ -10,8 +8,8 @@ COPY --chown=1001 . /app
108

119
RUN chmod "g+rwX" /app
1210

13-
# Tests run in separate CI task
14-
RUN ./gradlew build -Dquarkus.package.type=native
11+
# Tests run in separate CI task and require remote service unfortunately
12+
RUN ./gradlew build -Dquarkus.native.enabled=true -Dquarkus.package.jar.enabled=false -x test
1513

1614
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
1715

0 commit comments

Comments
 (0)