Skip to content

Commit 0a5579f

Browse files
spratrenovate[bot]
authored andcommitted
Fix an hadolint warning
1 parent 5a2aede commit 0a5579f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ WORKDIR /out
5353
ENTRYPOINT ["build-image"]
5454

5555
# =========================================================
56-
FROM alpine-base AS bootable-alpine-rootfs
56+
FROM alpine-base AS bootable-alpine
5757
SHELL ["/bin/ash", "-euxo", "pipefail", "-c"]
5858

5959
# install the alpine-base package (for the user space)
@@ -91,9 +91,6 @@ rc_add boot "$BOOT_SERVICES"; \
9191
rc_add default "$DEFAULT_SERVICES"; \
9292
rc_add shutdown "$SHUTDOWN_SERVICES"
9393

94-
# =========================================================
95-
FROM scratch AS bootable-alpine
96-
COPY --from=bootable-alpine-rootfs / /
9794
ENTRYPOINT ["/bin/sh"]
9895

9996
# =========================================================

0 commit comments

Comments
 (0)