The chatops bot of aventer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 535B

1234567891011121314151617181920212223
  1. FROM golang:1.10.0-alpine3.7
  2. LABEL maintainer="Andreas Peters <support@aventer.biz>"
  3. ENV BIND_ADDRESS=:4050 DATABASE_TYPE=sqlite3 DATABASE_URL=/go-avbot/data/go-neb.db?_busy_timeout=5000
  4. COPY . /go-avbot/
  5. COPY run.sh /run.sh
  6. RUN apk update && \
  7. apk add git gcc libc-dev && \
  8. cd /go-avbot/ && \
  9. go get -d && \
  10. mkdir -p /go-avbot/log
  11. VOLUME /go-avbot/data
  12. RUN cd /go-avbot && \
  13. go build -ldflags "-X main.MinVersion=`date -u +%Y%m%d%.H%M%S`" app.go init.go
  14. EXPOSE 4050
  15. ENTRYPOINT ["/run.sh"]
  16. #CMD ["/bin/sh"]