mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
Merge pull request #100 from rootfs/base-image
switch to centos base image
This commit is contained in:
commit
088cfc5538
@ -1,14 +1,11 @@
|
|||||||
FROM ubuntu:16.04
|
FROM centos:7
|
||||||
LABEL maintainers="Kubernetes Authors"
|
LABEL maintainers="Kubernetes Authors"
|
||||||
LABEL description="CephFS CSI Plugin"
|
LABEL description="CephFS CSI Plugin"
|
||||||
|
|
||||||
ENV CEPH_VERSION "mimic"
|
ENV CEPH_VERSION "mimic"
|
||||||
|
RUN yum install -y centos-release-ceph && \
|
||||||
RUN apt-get update && apt-get install -y wget && \
|
yum install -y kmod ceph-common ceph-fuse attr && \
|
||||||
wget -q -O- 'https://download.ceph.com/keys/release.asc' | apt-key add - && \
|
yum clean all
|
||||||
echo "deb http://download.ceph.com/debian-$CEPH_VERSION/ xenial main" | tee /etc/apt/sources.list.d/ceph-$CEPH_VERSION.list && \
|
|
||||||
apt-get update && apt-get install -y kmod ceph-common ceph-fuse attr --no-install-recommends && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
COPY cephfsplugin /cephfsplugin
|
COPY cephfsplugin /cephfsplugin
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user