update builder image config

This commit is contained in:
李寻欢 2022-01-17 13:12:01 +08:00
parent 1a6d3250f2
commit 4afb7de61a
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.17.2-alpine
FROM golang:1.17-alpine
LABEL org.opencontainers.image.authors="lxh@cxh.cn"
@ -10,6 +10,6 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositorie
apk update && \
apk upgrade && \
apk add --no-cache ca-certificates gcc g++ && update-ca-certificates && \
apk add --no-cache --update tzdata && \
apk add --no-cache --update tzdata upx && \
rm -rf /var/cache/apk/*
ENV TZ=Asia/Shanghai
ENV TZ=Asia/Shanghai