Skip to content

Commit

Permalink
Ensure consistent casing in Dockerfiles (kubernetes-sigs#799)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
LavredisG authored Sep 16, 2024
1 parent 7a836bc commit 36b2c5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
ARG GO_BASE_IMAGE
ARG DISTROLESS_BASE_IMAGE=gcr.io/distroless/static:nonroot
FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE as builder
FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE AS builder

WORKDIR /workspace
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion build/scheduler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
ARG GO_BASE_IMAGE
ARG DISTROLESS_BASE_IMAGE=gcr.io/distroless/static:nonroot
FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE as builder
FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE AS builder

WORKDIR /workspace
COPY . .
Expand Down

0 comments on commit 36b2c5c

Please sign in to comment.