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-08-09 02:35:28 +00:00
|
|
|
ARG CEPH_REPO_URL=https://download.ceph.com/debian-luminous/
|
2018-07-07 17:34:56 +00:00
|
|
|
RUN wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add -
|
2018-08-09 02:35:28 +00:00
|
|
|
RUN apt-add-repository "deb ${CEPH_REPO_URL} 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
|