build: standard image from base_image stage (#5129)

Build the standard image starting from the base_image stage because we
don't need anything from the slim image.
This commit is contained in:
Marco Ferrari 2024-01-11 23:16:41 +01:00 committed by GitHub
parent d5da0ceac9
commit 877cdf4ea1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -418,7 +418,7 @@ ENV BUILD_VERSION=$BUILD_VERSION
############################## ##############################
# Build the standard variant # # Build the standard variant #
############################## ##############################
FROM slim as standard FROM base_image as standard
# https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope # https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
ARG TARGETARCH ARG TARGETARCH