We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7036f1a commit bd6e70aCopy full SHA for bd6e70a
1 file changed
examples/Dockerfile
@@ -1,17 +1,17 @@
1
# Build stage
2
FROM --platform=linux/amd64 amazoncorretto:17-alpine AS builder
3
4
-# Install Maven
5
-RUN apk add --no-cache maven
6
-
7
WORKDIR /build
8
9
# Copy parent pom and all modules
+COPY pom.xml .
10
COPY sdk ./sdk
11
COPY sdk-testing ./sdk-testing
12
COPY sdk-integration-tests ./sdk-integration-tests
13
COPY examples ./examples
14
-COPY pom.xml .
+
+# Install Maven
+RUN apk add --no-cache maven
15
16
# Build and install the SDK modules first
17
RUN mvn clean install -DskipTests -pl sdk,sdk-testing -am
0 commit comments