Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,16 @@ RUN make build
RUN mv ./bin/spawn /go/bin

# Reduces the size of the final image from 4GB -> 0.25GB
FROM busybox:1.35.0 as final
FROM debian:12.6-slim as final

RUN apt update && apt install -y libc6-dev gcc make ca-certificates

# move spawn and local-ic to final
RUN mkdir -p /usr/local/bin
COPY --from=builder /go/bin/spawn /usr/local/bin/spawn
COPY --from=builder /go/bin/local-ic /usr/local/bin/local-ic

COPY --from=builder /usr/local/go/ /usr/local/go/
ENV PATH="/usr/local/go/bin:${PATH}"

CMD ["spawn"]