Initial dockerfile
This commit is contained in:
parent
9cda67d44a
commit
3d4e949f49
|
@ -0,0 +1,16 @@
|
|||
FROM ubuntu:14.04
|
||||
MAINTAINER Vaibhav Bhembre <vaibhav@digitalocean.com>
|
||||
|
||||
ENV GOPATH /go
|
||||
ENV APPLOC $GOPATH/src/github.com/digitalocean/ceph_exporter
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install build-essential
|
||||
apt-get install -y librados-dev librbd-dev
|
||||
|
||||
WORKDIR $APPLOC
|
||||
RUN go get -d && \
|
||||
go build -o /bin/ceph_exporter && \
|
||||
rm -rf $GOPATH
|
||||
|
||||
ENTRYPOINT ["/bin/ceph_exporter"
|
Loading…
Reference in New Issue