Use the native platform in the build stage

This commit is contained in:
Héctor Molinero Fernández 2024-01-22 19:40:09 +01:00
parent f7f18c3d79
commit eac2b07c5e

View File

@ -4,7 +4,7 @@ m4_changequote([[, ]])
## "build" stage ## "build" stage
################################################## ##################################################


FROM docker.io/ubuntu:22.04 AS build FROM --platform=${BUILDPLATFORM} docker.io/ubuntu:22.04 AS build


# Install system packages # Install system packages
RUN export DEBIAN_FRONTEND=noninteractive \ RUN export DEBIAN_FRONTEND=noninteractive \