Files
renovate 3c9200f4d1
geo-service / build (push) Successful in 8m52s
geo-service / deploy-prod (push) Failing after 2m7s
chore(deps): update golang docker tag to v1.27.2 (#412)
2026-10-08 20:43:03 +00:00

11 lines
364 B
Docker

FROM amd64/golang:1.27.2@sha256:9e036bef9c3cd035cae4aeff523b3997c3c8aa993b13d112a71ea90143e87e48 as builder
WORKDIR /src
COPY * ./
RUN go get
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o geo-service .
FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /src/geo-service /
CMD ["/geo-service"]