Skip to content

Commit

Permalink
Stop using busybox for docker (#1949)
Browse files Browse the repository at this point in the history
  • Loading branch information
ski-u authored and nicklockwood committed Dec 22, 2024
1 parent bc98f34 commit 3733bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ["."]

0 comments on commit 3733bfd

Please sign in to comment.