From 90609ca5c5517f9e2b88deb602feb08f512db683 Mon Sep 17 00:00:00 2001 From: Joe Matthews <14097616+joematthews@users.noreply.github.com> Date: Wed, 29 Nov 2023 01:09:17 -0600 Subject: [PATCH] fix: cannot compile with docker on m1 mac --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4b6c3f9..3a96886 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM archlinux:latest +FROM --platform=amd64 archlinux:latest RUN pacman -Syyu base-devel --noconfirm RUN pacman -Syyu arm-none-eabi-gcc --noconfirm RUN pacman -Syyu arm-none-eabi-newlib --noconfirm