forked from cruzdb/zlog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (17 loc) · 819 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:14.04
MAINTAINER Noah Watkins <[email protected]>
RUN apt-get update && apt-get install -y git wget
# built ceph/rados bits
RUN wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc' | sudo apt-key add -
RUN echo deb http://gitbuilder.ceph.com/ceph-deb-$(lsb_release -sc)-x86_64-basic/ref/jewel $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
RUN apt-get update && apt-get install -y --force-yes ceph librados-dev
# ceph dev deps
RUN mkdir /src && cd /src && \
git clone --branch=jewel --recursive https://github.com/ceph/ceph.git && \
cd ceph && \
bash ./install-deps.sh
# zlog dev deps
RUN apt-get install -y libprotobuf-dev protobuf-compiler
ADD micro-osd.sh /src/micro-osd.sh
ADD entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]