mirror of https://github.com/ceph/go-ceph
Dockerfile: upgrade Go from 1.3 to 1.6.
This commit is contained in:
parent
0e703bba9c
commit
5133b0eaa2
13
Dockerfile
13
Dockerfile
|
@ -1,15 +1,16 @@
|
||||||
FROM golang:1.3-wheezy
|
FROM golang:1.6-wheezy
|
||||||
MAINTAINER Abhishek Lekshmanan "abhishek.lekshmanan@gmail.com"
|
MAINTAINER Abhishek Lekshmanan "abhishek.lekshmanan@gmail.com"
|
||||||
|
|
||||||
ENV CEPH_VERSION giant
|
ENV CEPH_VERSION hammer
|
||||||
|
|
||||||
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://ceph.com/debian-$CEPH_VERSION/ wheezy main | tee /etc/apt/sources.list.d/ceph-$CEPH_VERSION.list
|
||||||
|
|
||||||
# Running wget with no certificate checks, alternatively ssl-cert package should be installed
|
# 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 - &&\
|
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 update \
|
||||||
apt-get install -y ceph \
|
&& apt-get install -y --no-install-recommends ceph ceph-mds librados-dev librbd-dev libcephfs-dev \
|
||||||
librados-dev librbd-dev libcephfs-dev
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
VOLUME /go/src/github.com/ceph/go-ceph
|
VOLUME /go/src/github.com/ceph/go-ceph
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue