Skip to content
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
yp-engineering
rbd-docker-plugin
Repository navigation
Code
Issues
11
(11)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
rbd-docker-plugin
/
Dockerfile
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
39 lines (27 loc) · 922 Bytes
master
Breadcrumbs
rbd-docker-plugin
/
Dockerfile
Copy path
Top
File metadata and controls
Code
Blame
39 lines (27 loc) · 922 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM golang:1.5
MAINTAINER Adam Avilla <aavilla@yp.com>
# Install Ceph.
ENV CEPH_VERSION infernalis
RUN curl -sSL 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | \
apt-key add - && \
echo deb http://ceph.com/debian-${CEPH_VERSION}/ jessie main | \
tee /etc/apt/sources.list.d/ceph-${CEPH_VERSION}.list && \
apt-get update && \
apt-get install -y --force-yes \
librados-dev \
librbd-dev \
ceph
ENV SRC_ROOT /go/src/github.com/yp-engineering/rbd-docker-plugin
# Setup our directory and give convenient path via ln.
RUN mkdir -p ${SRC_ROOT} && \
ln -s ${SRC_ROOT} /rbd-docker-plugin
WORKDIR ${SRC_ROOT}
# Used to only go get if sources change.
ADD *.go ${SRC_ROOT}/
RUN go get -t .
# Add the rest of the files.
ADD . ${SRC_ROOT}
# Clean up all the apt stuff
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
CMD ["bash"]
You can’t perform that action at this time.