This commit is contained in:
mkelcik
2023-04-29 15:06:25 +02:00
parent ac2965c89c
commit 50eb25a6c8

View File

@@ -4,8 +4,7 @@ FROM golang:1.20 as build
COPY . /opt/project/ COPY . /opt/project/
WORKDIR /opt/project WORKDIR /opt/project
RUN apt update RUN apt update && apt-get install -y ca-certificates
RUN apt-get install -y ca-certificates
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