瀏覽代碼

no message

Gavin 6 年之前
父節點
當前提交
5875fe8bd1
共有 1 個文件被更改,包括 13 次插入0 次删除
  1. 13 0
      getregioninfo/Dockerfile

+ 13 - 0
getregioninfo/Dockerfile

@@ -0,0 +1,13 @@
+FROM golang:1.9.2
+RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+RUN echo 'Asia/Shanghai' > /etc/timezone
+
+COPY agollo.json /go/bin/
+COPY getregioninfo.yaml /go/bin/
+COPY getregioninfo /go/bin/
+COPY yamls /go/bin/yamls
+RUN chmod +x /go/bin/getregioninfo
+WORKDIR /go/bin
+
+CMD ["/go/bin/getregioninfo"]
+EXPOSE 8006