This commit is contained in:
mkelcik
2023-04-29 19:04:43 +02:00
parent 3aa0b4c5ec
commit 8e8ecc5fc5

View File

@@ -4,7 +4,7 @@ FROM golang:1.20 as build
COPY . /opt/project/ COPY . /opt/project/
WORKDIR /opt/project WORKDIR /opt/project
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates=20210119
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /cloudflare-ddns-updater RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /cloudflare-ddns-updater