Skip to content

Commit

Permalink
Specify linux/amd64 as the docker build platform
Browse files Browse the repository at this point in the history
The deb.nodesource.com archives only publish NodeJS packages for the
amd64 architecture.  Attempting to build this Dockerfile on a Apple
silicon Mac (aarch64 architecture) will result in an image that pulls
the incorrect version of `nodejs` from deb.debian.org instead.
  • Loading branch information
lunkwill42 committed Mar 4, 2024
1 parent 0e0bfa7 commit 950d514
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 @@ -22,7 +22,7 @@
# be world-readable!
#
#
FROM debian:bullseye
FROM --platform=linux/amd64 debian:bullseye

#### Prepare the OS base setup ###

Expand Down

0 comments on commit 950d514

Please sign in to comment.