Skip to content

Commit

Permalink
Specify --platform=linux/amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceManiac committed Apr 23, 2024
1 parent da595ee commit 49433e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -----------------------------------------------------------------------------
FROM alpine:3.18.6 AS build
FROM --platform=linux/amd64 alpine:3.18.6 AS build
RUN apk add --no-cache \
gcompat \
bash \
Expand Down Expand Up @@ -39,7 +39,7 @@ COPY --link --from=build /src/packages/contracts/evm-contracts/ /node_modules/@p

# -----------------------------------------------------------------------------
# paima-batcher binary
FROM alpine:3.18.6 AS paima-batcher
FROM --platform=linux/amd64 alpine:3.18.6 AS paima-batcher
RUN apk add --no-cache \
gcompat \
libstdc++
Expand All @@ -53,7 +53,7 @@ ENTRYPOINT [ "/usr/local/bin/paima-batcher" ]

# -----------------------------------------------------------------------------
# paima-engine binary, defaults to "run" subcommand
FROM alpine:3.18.6 AS paima-engine
FROM --platform=linux/amd64 alpine:3.18.6 AS paima-engine
RUN apk add --no-cache \
gcompat \
libstdc++
Expand Down

0 comments on commit 49433e5

Please sign in to comment.