Dockerfile 364 B

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