2018-07-07 17:34:56 +00:00
|
|
|
FROM ubuntu:xenial
|
2015-05-24 05:42:54 +00:00
|
|
|
|
2018-07-07 17:34:56 +00:00
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
apt-transport-https \
|
|
|
|
git \
|
|
|
|
software-properties-common \
|
|
|
|
uuid-runtime \
|
|
|
|
wget
|
2015-05-24 05:42:54 +00:00
|
|
|
|
2018-07-07 17:34:56 +00:00
|
|
|
RUN wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add -
|
|
|
|
RUN apt-add-repository 'deb https://download.ceph.com/debian-luminous/ xenial main'
|
2015-05-24 05:42:54 +00:00
|
|
|
|
2018-08-05 17:46:55 +00:00
|
|
|
RUN add-apt-repository ppa:gophers/archive
|
|
|
|
|
2018-07-07 17:34:56 +00:00
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
ceph \
|
|
|
|
libcephfs-dev \
|
|
|
|
librados-dev \
|
2018-08-05 17:46:55 +00:00
|
|
|
librbd-dev \
|
|
|
|
golang-1.10-go
|
2015-05-24 05:42:54 +00:00
|
|
|
|
2018-07-07 17:34:56 +00:00
|
|
|
ENV GOPATH /go
|
|
|
|
WORKDIR /go/src/github.com/ceph/go-ceph
|
2015-08-31 14:34:42 +00:00
|
|
|
VOLUME /go/src/github.com/ceph/go-ceph
|
2015-05-24 05:42:54 +00:00
|
|
|
|
2018-07-07 17:34:56 +00:00
|
|
|
COPY micro-osd.sh /
|
|
|
|
COPY entrypoint.sh /
|
|
|
|
ENTRYPOINT /entrypoint.sh
|