...
|
...
|
@@ -17,6 +17,7 @@ RUN GOOS=linux CGO_ENABLED=0 go build -ldflags="-s -w" -installsuffix cgo -o opp |
|
|
|
|
|
#FROM scratch
|
|
|
FROM alpine:latest
|
|
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
|
|
RUN apk add --no-cache tzdata \
|
|
|
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
|
|
&& echo "Asia/Shanghai" > /etc/timezone \
|
...
|
...
|
|