2016-10-04 22:00:34 +00:00
|
|
|
FROM golang:1.7.1
|
2015-05-24 05:42:54 +00:00
|
|
|
MAINTAINER Abhishek Lekshmanan "abhishek.lekshmanan@gmail.com"
|
|
|
|
|
2016-10-04 22:00:34 +00:00
|
|
|
ENV CEPH_VERSION jewel
|
2015-05-24 05:42:54 +00:00
|
|
|
|
2016-10-04 22:00:34 +00:00
|
|
|
RUN echo deb http://download.ceph.com/debian-$CEPH_VERSION/ jessie main | tee /etc/apt/sources.list.d/ceph-$CEPH_VERSION.list
|
2015-05-24 05:42:54 +00:00
|
|
|
|
|
|
|
# Running wget with no certificate checks, alternatively ssl-cert package should be installed
|
2016-03-25 02:08:55 +00:00
|
|
|
RUN wget --no-check-certificate -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | apt-key add - \
|
|
|
|
&& apt-get update \
|
2016-10-04 22:00:34 +00:00
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
ceph \
|
|
|
|
ceph-mds \
|
|
|
|
librados-dev \
|
|
|
|
librbd-dev \
|
|
|
|
libcephfs-dev \
|
|
|
|
uuid-runtime \
|
2016-03-25 02:08:55 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& apt-get clean
|
2015-05-24 05:42:54 +00:00
|
|
|
|
2015-08-31 14:34:42 +00:00
|
|
|
VOLUME /go/src/github.com/ceph/go-ceph
|
2015-05-24 05:42:54 +00:00
|
|
|
|
|
|
|
COPY ./ci/entrypoint.sh /tmp/entrypoint.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/tmp/entrypoint.sh", "/tmp/micro-ceph"]
|
|
|
|
|