From 6374c6368d01f307e81b5cec6c0ae47b44897db0 Mon Sep 17 00:00:00 2001 From: Zubair Haque Date: Sat, 17 Aug 2024 17:50:28 -0400 Subject: [PATCH] fix: CI linting issues with dockerfiles (#1671) --- Dockerfile.debian-stable-slim | 6 +++--- Dockerfile.ubuntu | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile.debian-stable-slim b/Dockerfile.debian-stable-slim index 316ab259..61c67e60 100644 --- a/Dockerfile.debian-stable-slim +++ b/Dockerfile.debian-stable-slim @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.22-alpine as builder +FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS builder RUN apk add --no-cache make git WORKDIR /workspace/helmfile @@ -14,7 +14,7 @@ RUN make static-${TARGETOS}-${TARGETARCH} FROM debian:stable-slim -LABEL org.opencontainers.image.source https://github.com/helmfile/helmfile +LABEL org.opencontainers.image.source=https://github.com/helmfile/helmfile RUN apt update -qq && \ apt install --no-install-recommends -y \ @@ -110,4 +110,4 @@ RUN chmod 751 ${HOME} COPY --from=builder /workspace/helmfile/dist/helmfile_${TARGETOS}_${TARGETARCH} /usr/local/bin/helmfile -CMD ["/usr/local/bin/helmfile"] +CMD ["/usr/local/bin/helmfile"] \ No newline at end of file diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index a592b463..743e7d78 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.22-alpine as builder +FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS builder RUN apk add --no-cache make git WORKDIR /workspace/helmfile @@ -14,7 +14,7 @@ RUN make static-${TARGETOS}-${TARGETARCH} FROM ubuntu:20.04 -LABEL org.opencontainers.image.source https://github.com/helmfile/helmfile +LABEL org.opencontainers.image.source=https://github.com/helmfile/helmfile RUN apt update -qq && \ apt install --no-install-recommends -y \