Bläddra i källkod

create golang base images

Stille 3 år sedan
förälder
incheckning
1a1a9224fe
1 ändrade filer med 9 tillägg och 0 borttagningar
  1. 9 0
      base/golang/1.17.6-alpine3.15/Dockerfile

+ 9 - 0
base/golang/1.17.6-alpine3.15/Dockerfile

@@ -0,0 +1,9 @@
+FROM golang:1.17.6-alpine3.15
+LABEL maintainer="Stille <[email protected]>"
+
+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