update code
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
FROM golang:latest as builder
|
FROM golang:latest as builder
|
||||||
ENV GOPROXY https://goproxy.io,direct
|
ENV GOPROXY https://goproxy.io,direct
|
||||||
|
ENV CGO_ENABLED 0
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -o ddns
|
RUN go build -o ddns -tags netgo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user