github.com/anchore/syft@v1.38.2/cmd/syft/internal/test/integration/test-fixtures/image-golang-compiler/Dockerfile (about)

     1  FROM --platform=linux/amd64 golang:1.18.10-alpine
     2  
     3  FROM scratch
     4  
     5  # we don't need the entire golang toolchain, just a single binary with the stdlib baked in
     6  COPY --from=0 /usr/local/go/bin/gofmt bin/gofmt