Use native arch in build stage

This commit is contained in:
Héctor Molinero Fernández 2021-10-31 12:08:27 +01:00
parent 4695fb28bc
commit 420f16c785

View File

@ -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 \