Dockerfile 389 B

123456789101112131415
  1. FROM docker.shemic.com/os/alpine:latest
  2. MAINTAINER Rabin "https://github.com/shemic"
  3. ENV $GOPATH=/usr/local/go
  4. RUN apk add --no-cache --update git go openssl-dev && \
  5. go get github.com/influxdata/influxdb && \
  6. cd $GOPATH/src/github.com/influxdata/ && \
  7. go get ./... && \
  8. go install ./... && \
  9. apk del curl go
  10. COPY influxdb.sh /entrypoint/influxdb.sh
  11. CMD ["influxdb"]