Skip to content

Commit

Permalink
Fix FROM/as casing
Browse files Browse the repository at this point in the history
  • Loading branch information
rwunderer committed Jan 15, 2025
1 parent 237a35f commit 4f06691
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-------------------
# Download hcloud
#-------------------
FROM alpine:3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099 as builder
FROM alpine:3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099 AS builder

# renovate: datasource=github-releases depName=hcloud-cli lookupName=hetznercloud/cli
ARG HCLOUD_VERSION=v1.49.0
Expand All @@ -23,7 +23,7 @@ RUN IMAGE=hcloud-${TARGETOS}-${TARGETARCH}${TARGETVARIANT}.tar.gz && \
#-------------------
# Minimal image
#-------------------
FROM gcr.io/distroless/static-debian12:nonroot@sha256:6ec5aa99dc335666e79dc64e4a6c8b89c33a543a1967f20d360922a80dd21f02 as hcloud-cli-minimal
FROM gcr.io/distroless/static-debian12:nonroot@sha256:6ec5aa99dc335666e79dc64e4a6c8b89c33a543a1967f20d360922a80dd21f02 AS hcloud-cli-minimal

COPY --from=builder /bin/hcloud /bin/hcloud

Expand All @@ -32,7 +32,7 @@ ENTRYPOINT ["/bin/hcloud"]
#-------------------
# Debug image
#-------------------
FROM gcr.io/distroless/static-debian12:debug-nonroot@sha256:9aca3e7de7bddd3f5d5a7192c4f8aeeba770f72bd61186841d47038e5b388daf as hcloud-cli-debug
FROM gcr.io/distroless/static-debian12:debug-nonroot@sha256:9aca3e7de7bddd3f5d5a7192c4f8aeeba770f72bd61186841d47038e5b388daf AS hcloud-cli-debug

COPY --from=builder /bin/hcloud /bin/hcloud

Expand Down

0 comments on commit 4f06691

Please sign in to comment.