Skip to content

Commit

Permalink
Fix architecture in dockerfile (#1812)
Browse files Browse the repository at this point in the history
Fixing the architecture in the dockerfile forces M1/M2 macs
to run the docker-file in emulated mode. This is required in
order to reproduce the linux builds on such a machine.
  • Loading branch information
Frederik Rothenberger authored Aug 23, 2023
1 parent 9adc86b commit 73e6ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# The docker image. To update, run `docker pull ubuntu` locally, and update the
# sha256:... accordingly.
FROM ubuntu@sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322 as deps
FROM --platform=linux/amd64 ubuntu@sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322 as deps

ENV TZ=UTC

Expand Down

0 comments on commit 73e6ad3

Please sign in to comment.