Skip to content

Commit

Permalink
images: fix FromAsCasing warnings
Browse files Browse the repository at this point in the history
Fix Docker image build warnings caused by inconsistent casing in
FROM and AS keywords. This commit standardizes the casing by using
uppercase AS to eliminate warnings during the image build.

Signed-off-by: Feruzjon Muyassarov <[email protected]>
  • Loading branch information
fmuyassarov committed Oct 14, 2024
1 parent dc2c310 commit 178f169
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cmd/config-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Build Stage
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as build
FROM golang:${GO_VERSION}-bullseye AS build
WORKDIR /go/builder

# Fetch go dependencies in a separate layer for caching
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/balloons/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder
FROM golang:${GO_VERSION}-bullseye AS builder

ARG IMAGE_VERSION
ARG BUILD_VERSION
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/memory-qos/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder
FROM golang:${GO_VERSION}-bullseye AS builder

ARG IMAGE_VERSION
ARG BUILD_VERSION
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/memtierd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22-bullseye as builder
FROM golang:1.22-bullseye AS builder

ARG IMAGE_VERSION
ARG BUILD_VERSION
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/sgx-epc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder
FROM golang:${GO_VERSION}-bullseye AS builder

ARG IMAGE_VERSION
ARG BUILD_VERSION
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/template/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder
FROM golang:${GO_VERSION}-bullseye AS builder

ARG IMAGE_VERSION
ARG BUILD_VERSION
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/topology-aware/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder
FROM golang:${GO_VERSION}-bullseye AS builder

ARG IMAGE_VERSION
ARG BUILD_VERSION
Expand Down
2 changes: 1 addition & 1 deletion deployment/operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fedora:latest as build
FROM fedora:latest AS build
ENV VERIFY_CHECKSUM=false
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 \
&& chmod 700 get_helm.sh && ./get_helm.sh
Expand Down
2 changes: 1 addition & 1 deletion test/self-hosted-runner/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG BASE_IMAGE
ARG GH_APP_PRIVATE_KEY_FILE

FROM ${BASE_IMAGE} as builder
FROM ${BASE_IMAGE} AS builder

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
Expand Down

0 comments on commit 178f169

Please sign in to comment.