Set base image versions directly on FROM line

Signed-off-by: LizenzFass78851 <82592556+LizenzFass78851@users.noreply.github.com>
This commit is contained in:
LizenzFass78851
2025-06-06 13:16:43 +02:00
parent dc34385007
commit 381411a4cb

View File

@@ -1,7 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG FTL_SOURCE=remote ARG FTL_SOURCE=remote
ARG alpine_version="3.21" FROM alpine:3.21 AS base
FROM alpine:${alpine_version} AS base
# 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 TARGETPLATFORM ARG TARGETPLATFORM