Skip to content

Commit

Permalink
just one docker platform
Browse files Browse the repository at this point in the history
  • Loading branch information
prenagha committed Aug 15, 2024
1 parent e078cd1 commit 8940b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# when building on Mac you need to specify the platform so
# Docker builds an image compatible with
# Mac Silicon (arm64) and AWS ECS x86 (amd64) runtime
FROM --platform=linux/arm64,linux/amd64 eclipse-temurin:17-jre
FROM --platform=linux/amd64 eclipse-temurin:17-jre

COPY build/libs/app.jar app.jar

Expand Down

0 comments on commit 8940b98

Please sign in to comment.