Open chaoqunxie opened 2 months ago
=> [stage-1 2/5] RUN apk --no-cache add ca-certificates 88.3s => => # fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz => CACHED [builder 2/5] WORKDIR /app 0.0s => [builder 3/5] COPY . . 0.1s => [builder 4/5] RUN go mod download 2.0s => [builder 5/5] RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o override
佬,必须要有公网ip吗
可能是编译太慢了可以考虑使用编译好的镜像 https://hub.docker.com/r/cursor1st/override
=> [stage-1 2/5] RUN apk --no-cache add ca-certificates 88.3s => => # fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
=> CACHED [builder 2/5] WORKDIR /app 0.0s => [builder 3/5] COPY . . 0.1s => [builder 4/5] RUN go mod download 2.0s => [builder 5/5] RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o override