Skip to content

Commit 297daea

Browse files
committed
Multiplatform GraalVM Native Docker Image Try #2
1 parent 140abac commit 297daea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mvnw

100644100755
File mode changed.

src/main/docker/Dockerfile.native

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM ghcr.io/graalvm/native-image-community:17-muslib as build
22
WORKDIR app
33
COPY ../../.. .
4-
RUN mvn -Pnative clean package -DskipNativeImage=false --file pom.xml
4+
RUN ls -la
5+
RUN ./mvnw -Pnative clean package -DskipNativeImage=false --file pom.xml
56

67
FROM ubuntu:jammy
78
COPY --from=build app/target/spring-redis-websocket spring-redis-websocket

0 commit comments

Comments
 (0)