Skip to content

Commit c02631e

Browse files
authored
Merge pull request #1899 from hj-johannes-lee/PR-2024-012
Dockerfiles: fix warning for 'FromAsCasing'
2 parents 7b620e3 + 71a54cd commit c02631e

29 files changed

+29
-29
lines changed

build/docker/intel-deviceplugin-operator.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3636
## The main branch defaults to using the latest Golang base image.
3737
ARG GOLANG_BASE=golang:1.23-bookworm
3838
###
39-
FROM ${GOLANG_BASE} as builder
39+
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes
4141
ARG GO111MODULE=on
4242
ARG LDFLAGS="all=-w -s"

build/docker/intel-dlb-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3535
## The main branch defaults to using the latest Golang base image.
3636
ARG GOLANG_BASE=golang:1.23-bookworm
3737
###
38-
FROM ${GOLANG_BASE} as builder
38+
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes
4040
WORKDIR $DIR
4141
COPY . .

build/docker/intel-dlb-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3636
## The main branch defaults to using the latest Golang base image.
3737
ARG GOLANG_BASE=golang:1.23-bookworm
3838
###
39-
FROM ${GOLANG_BASE} as builder
39+
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes
4141
ARG GO111MODULE=on
4242
ARG LDFLAGS="all=-w -s"

build/docker/intel-dsa-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3636
## The main branch defaults to using the latest Golang base image.
3737
ARG GOLANG_BASE=golang:1.23-bookworm
3838
###
39-
FROM ${GOLANG_BASE} as builder
39+
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes
4141
ARG GO111MODULE=on
4242
ARG LDFLAGS="all=-w -s"

build/docker/intel-fpga-admissionwebhook.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3636
## The main branch defaults to using the latest Golang base image.
3737
ARG GOLANG_BASE=golang:1.23-bookworm
3838
###
39-
FROM ${GOLANG_BASE} as builder
39+
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes
4141
ARG GO111MODULE=on
4242
ARG LDFLAGS="all=-w -s"

build/docker/intel-fpga-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3535
## The main branch defaults to using the latest Golang base image.
3636
ARG GOLANG_BASE=golang:1.23-bookworm
3737
###
38-
FROM ${GOLANG_BASE} as builder
38+
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes
4040
ARG GO111MODULE=on
4141
ARG LDFLAGS="all=-w -s"

build/docker/intel-fpga-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3636
## The main branch defaults to using the latest Golang base image.
3737
ARG GOLANG_BASE=golang:1.23-bookworm
3838
###
39-
FROM ${GOLANG_BASE} as builder
39+
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes
4141
ARG GO111MODULE=on
4242
ARG LDFLAGS="all=-w -s"

build/docker/intel-gpu-fakedev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3636
## The main branch defaults to using the latest Golang base image.
3737
ARG GOLANG_BASE=golang:1.23-bookworm
3838
###
39-
FROM ${GOLANG_BASE} as builder
39+
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes
4141
ARG GO111MODULE=on
4242
ARG LDFLAGS="all=-w -s"

build/docker/intel-gpu-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3535
## The main branch defaults to using the latest Golang base image.
3636
ARG GOLANG_BASE=golang:1.23-bookworm
3737
###
38-
FROM ${GOLANG_BASE} as builder
38+
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes
4040
ARG GO111MODULE=on
4141
ARG LDFLAGS="all=-w -s"

build/docker/intel-gpu-levelzero.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ARG ROCKYLINUX=1
2424
ARG BUILD_BASE=rockylinux:9
2525
ARG FINAL_BASE_DYN=registry.access.redhat.com/ubi9/ubi-minimal:9.3
2626
###
27-
FROM ${BUILD_BASE} as builder
27+
FROM ${BUILD_BASE} AS builder
2828
ARG DIR=/intel-device-plugins-for-kubernetes
2929
ENV CGO_CFLAGS="-pipe -fno-plt"
3030
ENV CGO_LDFLAGS="-fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now,-z,noexecstack,-z,defs,-s,-w"

0 commit comments

Comments
 (0)