diff --git a/Dockerfile b/Dockerfile index 58c6462..7493858 100644 --- a/Dockerfile +++ b/Dockerfile @@ -189,7 +189,8 @@ RUN rm -rf pkg/obj && \ ln -s /go/bin/go /rootfs/usr/bin/go && \ ln -s /go/bin/gofmt /rootfs/usr/bin/gofmt -FROM core-busybox AS final +FROM scratch AS final +COPY --from=core-busybox / / COPY --from=build-make /rootfs/ / COPY --from=build-binutils /rootfs/ / COPY --from=build-gcc /rootfs/ /