fix: CI linting issues with dockerfiles (#1671)
This commit is contained in:
		
							parent
							
								
									12f380ae59
								
							
						
					
					
						commit
						6374c6368d
					
				|  | @ -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 \ | ||||||
|  | @ -110,4 +110,4 @@ RUN chmod 751 ${HOME} | ||||||
| 
 | 
 | ||||||
| COPY --from=builder /workspace/helmfile/dist/helmfile_${TARGETOS}_${TARGETARCH} /usr/local/bin/helmfile | COPY --from=builder /workspace/helmfile/dist/helmfile_${TARGETOS}_${TARGETARCH} /usr/local/bin/helmfile | ||||||
| 
 | 
 | ||||||
| CMD ["/usr/local/bin/helmfile"] | CMD ["/usr/local/bin/helmfile"] | ||||||
|  | @ -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 \ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue