This commit is contained in:
duzhuoshanwai 2024-10-27 00:34:15 +08:00 committed by GitHub
commit e057d70707
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o override
FROM alpine:latest
RUN sed -i 's#https\?://dl-cdn.alpinelinux.org/alpine#https://mirrors.tuna.tsinghua.edu.cn/alpine#g' /etc/apk/repositories
RUN apk --no-cache add ca-certificates
COPY --from=builder /app/override /usr/local/bin/