mirror of
https://github.com/digitalocean/ceph_exporter
synced 2025-02-10 08:27:08 +00:00
17 lines
386 B
Docker
17 lines
386 B
Docker
|
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"
|