castor/Dockerfile
renovate 30368e81b2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Update golang Docker tag to v1.23
2024-08-13 21:01:47 +00:00

7 lines
155 B
Docker

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