Skip to content

Commit a189cd0

Browse files
committed
Pin to amd64 architecture
This is the case that will run most often in CI, this also sets up if we prebuild the image
1 parent bb43dee commit a189cd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Dockerfile for Go Driver local development.
22

33
# Build libmongocrypt in a separate build stage.
4-
FROM golang:1.25.5-trixie AS libmongocrypt
4+
FROM --platform=linux/amd64 golang:1.25.5-trixie AS libmongocrypt
55

66
RUN apt-get -qq update && \
77
apt-get -qqy install --no-install-recommends \
@@ -21,7 +21,7 @@ RUN cd /root && bash ./install-libmongocrypt.sh
2121

2222

2323
# Final dev image (already has Go 1.25.x).
24-
FROM golang:1.25.5-trixie
24+
FROM --platform=linux/amd64 golang:1.25.5-trixie
2525

2626
RUN export DEBIAN_FRONTEND=noninteractive && \
2727
export TZ=Etc/UTC && \

0 commit comments

Comments
 (0)