From 0348dda5cd5a5c5426790b3dcd9574453af9be4a Mon Sep 17 00:00:00 2001 From: nquidox Date: Sat, 18 Oct 2025 14:57:43 +0300 Subject: [PATCH] switch back to alpine --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c05cbe3..941ced8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,11 @@ COPY . . RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o main "./cmd" -FROM ubuntu:24.04 +FROM alpine:3.22 + +RUN apk add --no-cache \ + tzdata \ + ca-certificates COPY --from=builder /app/main /usr/local/bin/app