Skip to content

Commit 7ba38b1

Browse files
committed
releases/build.sh: Enforce amd64
Currently it is not posisble to reproducibly build the firmware due to the toolchains we have, therefore we enforce amd64.
1 parent 2e38134 commit 7ba38b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

releases/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ fi
3535

3636

3737
# Build the Docker image (this can take a while):
38-
docker build --pull --force-rm --no-cache -t bitbox02-firmware .
38+
# - The firmware is only reproducible with the same host compiler. For now we force linux/amd64.
39+
docker build --pull --platform linux/amd64 --force-rm --no-cache -t bitbox02-firmware .
3940

4041
# Revert the above local patch to the Dockerfile again to have a clean state.
4142
git checkout -- Dockerfile

0 commit comments

Comments
 (0)