Files
realDynDNS/Dockerfile
Renovate Bot 07903b8346
Some checks are pending
renovate/stability-days Updates have not met minimum release age requirement
CI / test (pull_request) Successful in 51s
chore(deps): update docker.io/library/golang:1.25-alpine docker digest to f6751d8
2026-02-20 19:44:28 +00:00

15 lines
460 B
Docker

FROM docker.io/library/golang:1.25-alpine@sha256:f6751d823c26342f9506c03797d2527668d095b0a15f1862cddb4d927a7a4ced as build
ARG GOARCH=amd64
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${GOARCH} \
go build -trimpath -ldflags="-s -w" -o main .
FROM gcr.io/distroless/static-debian12@sha256:4b2a093ef4649bccd586625090a3c668b254cfe180dee54f4c94f3e9bd7e381e
COPY --from=build /app/main /
CMD ["/main"]