Merge "Add ceph-nfs container"
This commit is contained in:
commit
e2666505a6
|
@ -66,6 +66,7 @@ COPY yum.conf /etc/yum.conf
|
|||
'influxdb.repo',
|
||||
'kibana.yum.repo',
|
||||
'MariaDB.repo',
|
||||
'nfs_ganesha.repo',
|
||||
'opendaylight.repo',
|
||||
'sensu.repo',
|
||||
'td.repo',
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
[nfs_ganesha]
|
||||
baseurl = http://download.ceph.com/nfs-ganesha/rpm-V2.5-stable/luminous/$basearch
|
||||
gpgcheck = 1
|
||||
gpgkey = https://download.ceph.com/keys/release.asc
|
||||
name = nfs-ganesha stable repo
|
|
@ -33,6 +33,9 @@ deb https://repos.influxdata.com/ubuntu xenial stable
|
|||
# Grafana repo
|
||||
deb https://packagecloud.io/grafana/stable/debian/ jessie main
|
||||
|
||||
# Nfs-ganesha repo
|
||||
deb http://download.ceph.com/nfs-ganesha/deb-V2.5-stable/luminous xenial main
|
||||
|
||||
# Fluentd repo
|
||||
deb http://packages.treasuredata.com/2/ubuntu/xenial/ xenial contrib
|
||||
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
FROM {{ namespace }}/{{ image_prefix }}ceph-base:{{ tag }}
|
||||
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||
|
||||
{% block ceph_nfs_header %}{% endblock %}
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||
|
||||
{% set ceph_nfs_packages = [
|
||||
'nfs-ganesha',
|
||||
'nfs-ganesha-ceph',
|
||||
'nfs-ganesha-rgw'
|
||||
] %}
|
||||
{% elif base_distro in ['ubuntu'] %}
|
||||
{% set ceph_nfs_packages = [
|
||||
'nfs-ganesha',
|
||||
'nfs-ganesha-ceph',
|
||||
'nfs-ganesha-rgw'
|
||||
] %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(ceph_nfs_packages | customizable("packages")) }}
|
||||
|
||||
|
||||
{% block ceph_nfs_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
|
||||
USER ceph
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
Add ceph-nfs dockerfile
|
Loading…
Reference in New Issue