docker: support building librados against ceph Jewel

This commit is contained in:
Vaibhav Bhembre 2016-06-23 13:48:54 -04:00
parent 62e2e4531c
commit c6a2874d12
1 changed files with 7 additions and 2 deletions

View File

@ -6,9 +6,14 @@ ENV GOPATH /go
ENV PATH $GOROOT/bin:$PATH
ENV APPLOC $GOPATH/src/github.com/digitalocean/ceph_exporter
RUN apt-get install -y apt-transport-https
RUN echo "deb https://download.ceph.com/debian-jewel trusty main" >> /etc/apt/sources.list
RUN apt-get update && \
apt-get install -y build-essential git curl && \
apt-get install -y librados-dev librbd-dev
apt-get install -y build-essential git curl
RUN apt-get install -y --force-yes librados-dev librbd-dev
RUN \
mkdir -p /goroot && \