From 420f16c7854a3da7cc2325aa912f7f8e17b0b23f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Sun, 31 Oct 2021 12:08:27 +0100 Subject: [PATCH] Use native arch in build stage --- Dockerfile.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile.m4 b/Dockerfile.m4 index 65f6499..558a2f3 100644 --- a/Dockerfile.m4 +++ b/Dockerfile.m4 @@ -4,8 +4,7 @@ m4_changequote([[, ]]) ## "build" stage ################################################## -m4_ifdef([[CROSS_ARCH]], [[FROM docker.io/CROSS_ARCH/ubuntu:20.04]], [[FROM docker.io/ubuntu:20.04]]) AS build -m4_ifdef([[CROSS_QEMU]], [[COPY --from=docker.io/hectormolinero/qemu-user-static:latest CROSS_QEMU CROSS_QEMU]]) +FROM docker.io/ubuntu:20.04 AS build # Install system packages RUN export DEBIAN_FRONTEND=noninteractive \