go-ceph/Dockerfile

29 lines
639 B
Docker
Raw Normal View History

FROM ubuntu:xenial
RUN apt-get update && apt-get install -y \
apt-transport-https \
git \
software-properties-common \
uuid-runtime \
wget
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'
RUN add-apt-repository ppa:gophers/archive
RUN apt-get update && apt-get install -y \
ceph \
libcephfs-dev \
librados-dev \
librbd-dev \
golang-1.10-go
ENV GOPATH /go
WORKDIR /go/src/github.com/ceph/go-ceph
VOLUME /go/src/github.com/ceph/go-ceph
COPY micro-osd.sh /
COPY entrypoint.sh /
ENTRYPOINT /entrypoint.sh