Skip to content

Commit a3a03d7

Browse files
committed
remove: tzdata
1 parent c58de11 commit a3a03d7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o k8s-athen
1212
# Final stage: minimal runtime image
1313
FROM alpine:latest
1414

15-
# Install CA certificates and timezone data (Essential for logs and HTTPS)
16-
RUN apk --no-cache add ca-certificates tzdata
17-
WORKDIR /
15+
RUN apk --no-cache add ca-certificates
1816

17+
WORKDIR /
1918
COPY --from=builder /workspace/k8s-athenz-syncer /usr/bin/k8s-athenz-syncer
2019

2120
# TODO: Consider using a non-root user for better security practices

0 commit comments

Comments
 (0)