Skip to content

Commit eb67d5d

Browse files
committed
chore(docker): force docker platform to amd64
1 parent a150d68 commit eb67d5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/universal/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RUN \
6767
cp target/debug/rivet-engine /app/dist/
6868

6969
# MARK: Engine (full, base)
70-
FROM debian:12.9-slim AS engine-full-base
70+
FROM --platform=linux/amd64 debian:12.9-slim AS engine-full-base
7171

7272
# Docker automatically provides TARGETARCH
7373
ARG TARGETARCH
@@ -100,7 +100,7 @@ RUN apt-get update -y && \
100100
fi
101101

102102
# MARK: Engine (Full)
103-
FROM engine-full-base AS engine-full
103+
FROM --platform=linux/amd64 engine-full-base AS engine-full
104104

105105
LABEL org.opencontainers.image.source https://github.com/rivet-gg/rivet
106106

@@ -109,7 +109,7 @@ COPY --from=builder /app/dist/rivet-engine /usr/bin/rivet-engine
109109
CMD ["/usr/bin/rivet-engine", "start"]
110110

111111
# MARK: Engine (Slim)
112-
FROM debian:12.9-slim AS engine-slim
112+
FROM --platform=linux/amd64 debian:12.9-slim AS engine-slim
113113

114114
LABEL org.opencontainers.image.source https://github.com/rivet-gg/rivet
115115

0 commit comments

Comments
 (0)