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
1 changed files with 1 additions and 1 deletions

View File

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

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

# Install system packages
RUN export DEBIAN_FRONTEND=noninteractive \