Images: Fix FromAsCasing. (#13125)
Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
parent
6b12ef748e
commit
c2a9671f66
6 changed files with 6 additions and 6 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
ARG GOLANG_VERSION
|
ARG GOLANG_VERSION
|
||||||
|
|
||||||
FROM golang:${GOLANG_VERSION}-alpine3.21 as builder
|
FROM golang:${GOLANG_VERSION}-alpine3.21 AS builder
|
||||||
|
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk upgrade && apk add git
|
&& apk upgrade && apk add git
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
ARG GOLANG_VERSION
|
ARG GOLANG_VERSION
|
||||||
|
|
||||||
FROM golang:${GOLANG_VERSION}-alpine3.21 as builder
|
FROM golang:${GOLANG_VERSION}-alpine3.21 AS builder
|
||||||
RUN mkdir /authsvc
|
RUN mkdir /authsvc
|
||||||
WORKDIR /authsvc
|
WORKDIR /authsvc
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
ARG GOLANG_VERSION
|
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
|
WORKDIR /go/src/k8s.io/ingress-nginx/images/fastcgi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
ARG GOLANG_VERSION
|
ARG GOLANG_VERSION
|
||||||
|
|
||||||
FROM golang:${GOLANG_VERSION}-alpine3.21 as build
|
FROM golang:${GOLANG_VERSION}-alpine3.21 AS build
|
||||||
|
|
||||||
WORKDIR /go/src/greeter-server
|
WORKDIR /go/src/greeter-server
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
ARG GOLANG_VERSION
|
ARG GOLANG_VERSION
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM golang:${GOLANG_VERSION} as builder
|
FROM --platform=$BUILDPLATFORM golang:${GOLANG_VERSION} AS builder
|
||||||
|
|
||||||
ARG BUILDPLATFORM
|
ARG BUILDPLATFORM
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
ARG BASE_IMAGE
|
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
|
# 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
|
# TODO: Simplify in a future to a single Dockerfile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue