Skip to content

Commit

Permalink
Skip tests during native image build
Browse files Browse the repository at this point in the history
  • Loading branch information
jvmusin committed Mar 19, 2024
1 parent 44018d5 commit 6c6a93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.native
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ WORKDIR /app
COPY . /app
RUN --mount=type=secret,id=application_yaml,dst=application.yaml cp application.yaml src/main/resources/application.yaml
RUN cd frontend && npm ci && npm run build
RUN chmod +x gradlew && ./gradlew nativeCompile -PcopyFrontend
RUN chmod +x gradlew && ./gradlew nativeCompile -PcopyFrontend -x test

FROM alpine:latest
RUN apk add gcompat
Expand Down

0 comments on commit 6c6a93b

Please sign in to comment.