sungo 1 year ago
parent
commit
c908f86288
1 changed files with 14 additions and 0 deletions
  1. 14 0
      wego/Dockerfile

+ 14 - 0
wego/Dockerfile

@@ -0,0 +1,14 @@
+FROM golang:1.11.1-alpine AS build
+ENV CGO_ENABLED 0
+
+RUN apk add --no-cache --update make git perl-utils dep
+RUN apk add --no-cache --update ca-certificates
+ENV PATH "/go/bin:${PATH}"
+
+ARG CACHE_BUSTER="wat"
+
+RUN go get -u github.com/schachmat/wego
+RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
+
+ENV WEGORC /.wegorc
+ENTRYPOINT [ "/go/bin/wego" ]