2018-03-05 11:59:47 +00:00
|
|
|
FROM ubuntu:16.04
|
|
|
|
LABEL maintainers="Kubernetes Authors"
|
|
|
|
LABEL description="CephFS CSI Plugin"
|
|
|
|
|
|
|
|
ENV CEPH_VERSION "luminous"
|
|
|
|
|
2018-03-21 13:18:01 +00:00
|
|
|
RUN apt-get update && apt-get install -y wget && \
|
|
|
|
wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add - && \
|
|
|
|
echo "deb http://download.ceph.com/debian-$CEPH_VERSION/ xenial main" | tee /etc/apt/sources.list.d/ceph-$CEPH_VERSION.list && \
|
2018-04-13 12:35:38 +00:00
|
|
|
apt-get update && apt-get install -y kmod ceph-common ceph-fuse attr --no-install-recommends && \
|
2018-03-09 16:05:19 +00:00
|
|
|
rm -rf /var/lib/apt/lists/*
|
2018-03-05 11:59:47 +00:00
|
|
|
|
|
|
|
COPY cephfsplugin /cephfsplugin
|
2018-03-20 15:19:31 +00:00
|
|
|
|
|
|
|
RUN chmod +x /cephfsplugin && \
|
|
|
|
mkdir -p /var/log/ceph
|
|
|
|
|
2018-03-05 11:59:47 +00:00
|
|
|
ENTRYPOINT ["/cephfsplugin"]
|