Sign inSign up

wida/gobase

By wida

•Updated over 4 years ago

golang 程序运行基础镜像

Image
0

242

wida/gobase repository overview

FROM alpine:latest
ENV TZ Asia/Shanghai

# 配置阿里云镜像源,加快构建速度。
RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories
# 时区,tls
RUN apk update --no-cache && apk add --no-cache ca-certificates && apk add --no-cache tzdata && cp /usr/share/zoneinfo/${TZ} /etc/localtime \
    && echo ${TZ} > /etc/timezone

Tag summary

Content type

Image

Digest

Size

3.3 MB

Last updated

over 4 years ago

docker pull wida/gobase