FROM golang AS go-builder
WORKDIR /var/usr/src/go/codeeducation
COPY src/ .
RUN go build hello-world.go
FROM scratch
COPY --from=go-builder /var/usr/src/go/codeeducation/hello-world .
ENTRYPOINT [ "./hello-world" ]
Content type
Image
Digest
Size
1 MB
Last updated
over 4 years ago
docker pull luccostajr/codeeducation