Skip to content

Commit 39b2dfe

Browse files
committed
Add --platform linux/amd64 to bundling options.
1 parent e120042 commit 39b2dfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

powertools-e2e-tests/src/test/java/software/amazon/lambda/powertools/testutils/DockerConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public BundlingOptions createGraalVMBundlingOptions(String pathToFunction, JavaR
8888
.environment(environmentVariables)
8989
.user("root")
9090
.outputType(BundlingOutput.ARCHIVED)
91+
.platform("linux/amd64")
9192
.build();
9293
}
9394

@@ -111,6 +112,7 @@ public BundlingOptions createJVMBundlingOptions(String pathToFunction, JavaRunti
111112
.volumes(volumes)
112113
.user("root")
113114
.outputType(BundlingOutput.ARCHIVED)
115+
.platform("linux/amd64")
114116
.build();
115117
}
116118

0 commit comments

Comments
 (0)