Skip to content

Commit 68c2db5

Browse files
committed
Skip lint checks when building container images
1 parent 0f55ba3 commit 68c2db5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ice-rest-catalog/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ARG VERSION
1919
COPY . .
2020

2121
RUN ./mvnw -am -pl ice-rest-catalog versions:set -DnewVersion=${VERSION}
22-
RUN ./mvnw -pl ice-rest-catalog clean package -Dmaven.test.skip=true
22+
RUN ./mvnw -Pno-check -pl ice-rest-catalog clean package -Dmaven.test.skip=true
2323

2424
FROM gcr.io/distroless/java21-debian12:${BASE_IMAGE_TAG}
2525

ice/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ARG VERSION
1919
COPY . .
2020

2121
RUN ./mvnw -am -pl ice versions:set -DnewVersion=${VERSION}
22-
RUN ./mvnw -pl ice clean package -Dmaven.test.skip=true
22+
RUN ./mvnw -Pno-check -pl ice clean package -Dmaven.test.skip=true
2323

2424
FROM gcr.io/distroless/java21-debian12:${BASE_IMAGE_TAG}
2525

0 commit comments

Comments
 (0)