create golang base images

This commit is contained in:
Stille 2022-02-09 20:27:36 +08:00
parent 89bf0f665c
commit 1a1a9224fe
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
FROM golang:1.17.6-alpine3.15
LABEL maintainer="Stille <stille@ioiox.com>"
RUN apk add --no-cache bash git curl zip
ENV TZ=Asia/Shanghai
RUN apk add --no-cache tzdata \
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone