update builder image config
This commit is contained in:
parent
1a6d3250f2
commit
4afb7de61a
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.17.2-alpine
|
FROM golang:1.17-alpine
|
||||||
|
|
||||||
LABEL org.opencontainers.image.authors="lxh@cxh.cn"
|
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 update && \
|
||||||
apk upgrade && \
|
apk upgrade && \
|
||||||
apk add --no-cache ca-certificates gcc g++ && update-ca-certificates && \
|
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/*
|
rm -rf /var/cache/apk/*
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
Loading…
Reference in New Issue
Block a user