castor/Dockerfile
renovate 2bea6bec61
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update golang Docker tag to v1.20
2023-04-07 01:01:31 +00:00

7 lines
155 B
Docker

FROM golang:1.20 as builder
COPY . /castor
RUN cd /castor && CGO_ENABLED=0 go build
FROM scratch
COPY --from=builder /castor/castor castor
CMD ["/castor"]