From 3733bfd7865d8e31519fd6bca15cd9439d70af19 Mon Sep 17 00:00:00 2001 From: Yunosuke Sakai <37182704+ski-u@users.noreply.github.com> Date: Tue, 17 Dec 2024 03:14:09 +0900 Subject: [PATCH] Stop using busybox for docker (#1949) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c7718a34c..34f10042f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/workspace/.build,id=build-$TARGETPLATFORM \ cp /workspace/.build/release/swiftformat /workspace # https://github.com/nicklockwood/SwiftFormat/issues/1930 -FROM busybox:stable AS runner +FROM scratch AS runner COPY --from=builder /workspace/swiftformat /usr/bin/swiftformat ENTRYPOINT [ "/usr/bin/swiftformat" ] CMD ["."]