We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9585a5b commit 11dca51Copy full SHA for 11dca51
1 file changed
Dockerfile
@@ -1,8 +1,7 @@
1
-# Multi-stage Dockerfile for dns-sync
2
-
3
-# Build stage
4
FROM golang:1.23-alpine AS builder
5
+ARG TARGETARCH
+
6
# Install necessary packages
7
RUN apk add --no-cache git ca-certificates tzdata
8
@@ -28,6 +27,8 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \
28
27
# Final stage
29
FROM scratch AS production
30
31
32
# Import from builder
33
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
34
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
0 commit comments