Skip to content

Commit bd6e70a

Browse files
committed
chore: try copying over files prior to building with maven
1 parent 7036f1a commit bd6e70a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

examples/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Build stage
22
FROM --platform=linux/amd64 amazoncorretto:17-alpine AS builder
33

4-
# Install Maven
5-
RUN apk add --no-cache maven
6-
74
WORKDIR /build
85

96
# Copy parent pom and all modules
7+
COPY pom.xml .
108
COPY sdk ./sdk
119
COPY sdk-testing ./sdk-testing
1210
COPY sdk-integration-tests ./sdk-integration-tests
1311
COPY examples ./examples
14-
COPY pom.xml .
12+
13+
# Install Maven
14+
RUN apk add --no-cache maven
1515

1616
# Build and install the SDK modules first
1717
RUN mvn clean install -DskipTests -pl sdk,sdk-testing -am

0 commit comments

Comments
 (0)