Images: Fix FromAsCasing. (#13125)

Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
k8s-infra-cherrypick-robot 2025-03-30 09:32:35 -07:00 committed by GitHub
parent 6b12ef748e
commit c2a9671f66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@
ARG GOLANG_VERSION
FROM golang:${GOLANG_VERSION}-alpine3.21 as builder
FROM golang:${GOLANG_VERSION}-alpine3.21 AS builder
RUN apk update \
&& apk upgrade && apk add git

View file

@ -1,6 +1,6 @@
ARG GOLANG_VERSION
FROM golang:${GOLANG_VERSION}-alpine3.21 as builder
FROM golang:${GOLANG_VERSION}-alpine3.21 AS builder
RUN mkdir /authsvc
WORKDIR /authsvc
COPY . ./

View file

@ -13,7 +13,7 @@
# limitations under the License.
ARG GOLANG_VERSION
FROM golang:${GOLANG_VERSION}-alpine3.21 as builder
FROM golang:${GOLANG_VERSION}-alpine3.21 AS builder
WORKDIR /go/src/k8s.io/ingress-nginx/images/fastcgi

View file

@ -1,6 +1,6 @@
ARG GOLANG_VERSION
FROM golang:${GOLANG_VERSION}-alpine3.21 as build
FROM golang:${GOLANG_VERSION}-alpine3.21 AS build
WORKDIR /go/src/greeter-server

View file

@ -14,7 +14,7 @@
ARG GOLANG_VERSION
FROM --platform=$BUILDPLATFORM golang:${GOLANG_VERSION} as builder
FROM --platform=$BUILDPLATFORM golang:${GOLANG_VERSION} AS builder
ARG BUILDPLATFORM
ARG TARGETARCH

View file

@ -14,7 +14,7 @@
ARG BASE_IMAGE
FROM ${BASE_IMAGE} as chroot
FROM ${BASE_IMAGE} AS chroot
# This intermediary image will be used only to copy all the required files to the chroot
# TODO: Simplify in a future to a single Dockerfile