Skip to content

Commit c67506c

Browse files
committed
Dockerfile: make FROM and AS casing consistent
So the linter finally shuts up
1 parent 7e1bfeb commit c67506c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM ghcr.io/grafana/grafana-build-tools:v0.36.0@sha256:deec32592848cde11ff64b4a5803b85546027dfb7b98921a0d0b89cd2226612f as buildtools
1+
FROM --platform=$BUILDPLATFORM ghcr.io/grafana/grafana-build-tools:v0.36.0@sha256:deec32592848cde11ff64b4a5803b85546027dfb7b98921a0d0b89cd2226612f AS buildtools
22
WORKDIR /crocochrome
33

44
COPY . .
@@ -12,7 +12,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
1212
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /usr/local/bin/crocochrome ./cmd
1313

1414
# For setting caps, use the same image than the final layer is using to avoid pulling two distinct ones.
15-
FROM ghcr.io/grafana/chromium-swiftshader-alpine:131.0.6778.139-r1-3.21.0@sha256:d3071cfe8721cee56fecf8e5d0bf77031d531bc1091b04b05bccf5f50a32365b as setcapper
15+
FROM ghcr.io/grafana/chromium-swiftshader-alpine:131.0.6778.139-r1-3.21.0@sha256:d3071cfe8721cee56fecf8e5d0bf77031d531bc1091b04b05bccf5f50a32365b AS setcapper
1616

1717
RUN apk --no-cache add libcap
1818

0 commit comments

Comments
 (0)