diff --git a/Dockerfile b/Dockerfile index 61c60b3..6837b93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM golang:1.20 as build COPY . /opt/project/ WORKDIR /opt/project -RUN apt update && apt-get install -y ca-certificates +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /cloudflare-ddns-updater