Skip to content

Commit 36b2c5c

Browse files
authored
Ensure consistent casing in Dockerfiles (#799)
* Fixes controller's Dockerfile casing * Fixes scheduler's Dockerfile casing When using the Makefile to build the images, a warning arises regarding the incosistent casing of the "FROM" and "as" keywords.
1 parent 7a836bc commit 36b2c5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/controller/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
ARG GO_BASE_IMAGE
1515
ARG DISTROLESS_BASE_IMAGE=gcr.io/distroless/static:nonroot
16-
FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE as builder
16+
FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE AS builder
1717

1818
WORKDIR /workspace
1919
COPY . .

build/scheduler/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
ARG GO_BASE_IMAGE
1515
ARG DISTROLESS_BASE_IMAGE=gcr.io/distroless/static:nonroot
16-
FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE as builder
16+
FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE AS builder
1717

1818
WORKDIR /workspace
1919
COPY . .

0 commit comments

Comments
 (0)