From 64ab09f4fc3028ef25730523c829e3cc89d1d024 Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Fri, 19 Jul 2024 16:02:42 +0200 Subject: [PATCH] Fix warning --- Dockerfile | 2 +- Dockerfile.bundle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8419d716..409ee414 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG BUILD_IMAGE=alpine:3.20 # Cross-Compilation # https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/ -FROM --platform=$BUILDPLATFORM $GOLANG_IMAGE as builder +FROM --platform=$BUILDPLATFORM $GOLANG_IMAGE AS builder ARG TARGETOS TARGETARCH TARGETVARIANT ENV GOOS=$TARGETOS GOARCH=$TARGETARCH GOARM=$TARGETVARIANT diff --git a/Dockerfile.bundle b/Dockerfile.bundle index 5e791c07..196dd33d 100644 --- a/Dockerfile.bundle +++ b/Dockerfile.bundle @@ -2,7 +2,7 @@ ARG CORE_IMAGE=core:dev ARG FFMPEG_IMAGE=datarhei/base:alpine-ffmpeg-latest -FROM $CORE_IMAGE as core +FROM $CORE_IMAGE AS core FROM $FFMPEG_IMAGE