castor/Dockerfile
renovate da9f54e2af
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update golang Docker tag to v1.21
2023-08-08 22:01:24 +00:00

7 lines
155 B
Docker

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