Files
geo-service/build-tools-dockerfile
T
argoyle 5b9f2da358
geo-service / build (pull_request) Failing after 43s
geo-service / deploy-prod (pull_request) Has been skipped
ci: migrate from GitLab CI to Gitea Actions
- Add Gitea Actions workflow (.gitea/workflows/ci.yaml)
- Update K8s deployment image registry to oci.unbound.se
2026-01-06 20:03:10 +01:00

11 lines
364 B
Plaintext

FROM amd64/golang:1.25.5@sha256:ad03ba93327b8a6143b49373790b5d92c28067bdb814418509466122ee9c9e63 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"]