Merge pull request #30 from codenrhoden/update_go_and_ceph_version

Update Dockerfile to Go 1.7.1 and Ceph Jewel
This commit is contained in:
Noah Watkins 2016-10-04 15:19:48 -07:00 committed by GitHub
commit dba6a108d6
1 changed files with 10 additions and 4 deletions

View File

@ -1,14 +1,20 @@
FROM golang:1.6-wheezy
FROM golang:1.7.1
MAINTAINER Abhishek Lekshmanan "abhishek.lekshmanan@gmail.com"
ENV CEPH_VERSION hammer
ENV CEPH_VERSION jewel
RUN echo deb http://ceph.com/debian-$CEPH_VERSION/ wheezy main | tee /etc/apt/sources.list.d/ceph-$CEPH_VERSION.list
RUN echo deb http://download.ceph.com/debian-$CEPH_VERSION/ jessie main | tee /etc/apt/sources.list.d/ceph-$CEPH_VERSION.list
# Running wget with no certificate checks, alternatively ssl-cert package should be installed
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 \
&& apt-get install -y --no-install-recommends ceph ceph-mds librados-dev librbd-dev libcephfs-dev \
&& apt-get install -y --no-install-recommends \
ceph \
ceph-mds \
librados-dev \
librbd-dev \
libcephfs-dev \
uuid-runtime \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean