fix: CI linting issues with dockerfiles (#1671)

This commit is contained in:
Zubair Haque 2024-08-17 17:50:28 -04:00 committed by GitHub
parent 12f380ae59
commit 6374c6368d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -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 RUN apk add --no-cache make git
WORKDIR /workspace/helmfile WORKDIR /workspace/helmfile
@ -14,7 +14,7 @@ RUN make static-${TARGETOS}-${TARGETARCH}
FROM debian:stable-slim 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 && \ RUN apt update -qq && \
apt install --no-install-recommends -y \ apt install --no-install-recommends -y \

View File

@ -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 RUN apk add --no-cache make git
WORKDIR /workspace/helmfile WORKDIR /workspace/helmfile
@ -14,7 +14,7 @@ RUN make static-${TARGETOS}-${TARGETARCH}
FROM ubuntu:20.04 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 && \ RUN apt update -qq && \
apt install --no-install-recommends -y \ apt install --no-install-recommends -y \