mirror of
https://github.com/stilleshan/dockerfiles.git
synced 2025-09-26 21:01:15 +08:00
create golang base images
This commit is contained in:
9
base/golang/1.17.6-alpine3.15/Dockerfile
Normal file
9
base/golang/1.17.6-alpine3.15/Dockerfile
Normal 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
|
Reference in New Issue
Block a user