mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #13302 from jsafrane/devel/gluster-test-image
Rebase the gluster test image to CentOS.
This commit is contained in:
commit
10332c3761
@ -12,10 +12,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM ubuntu:14.04
|
FROM centos
|
||||||
MAINTAINER Jan Safranek, jsafrane@redhat.com
|
MAINTAINER Jan Safranek, jsafrane@redhat.com
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ADD gluster.repo /etc/yum.repos.d/
|
||||||
RUN apt-get update -qq && apt-get install -y glusterfs-server -qq
|
RUN yum -y install hostname glusterfs-server && yum clean all
|
||||||
ADD glusterd.vol /etc/glusterfs/
|
ADD glusterd.vol /etc/glusterfs/
|
||||||
ADD run_gluster.sh /usr/local/bin/
|
ADD run_gluster.sh /usr/local/bin/
|
||||||
ADD index.html /vol/
|
ADD index.html /vol/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
all: push
|
all: push
|
||||||
|
|
||||||
TAG = 0.1
|
TAG = 0.2
|
||||||
|
|
||||||
container:
|
container:
|
||||||
docker build -t gcr.io/google_containers/volume-gluster . # Build new image and automatically tag it as latest
|
docker build -t gcr.io/google_containers/volume-gluster . # Build new image and automatically tag it as latest
|
||||||
|
50
test/images/volumes-tester/gluster/gluster.repo
Normal file
50
test/images/volumes-tester/gluster/gluster.repo
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[epel]
|
||||||
|
name=Extra Packages for Enterprise Linux 7 - $basearch
|
||||||
|
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
|
||||||
|
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
|
||||||
|
failovermethod=priority
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
||||||
|
|
||||||
|
[epel-debuginfo]
|
||||||
|
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
|
||||||
|
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
|
||||||
|
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
|
||||||
|
failovermethod=priority
|
||||||
|
enabled=0
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
||||||
|
|
||||||
|
[epel-source]
|
||||||
|
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
|
||||||
|
#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
|
||||||
|
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
|
||||||
|
failovermethod=priority
|
||||||
|
enabled=0
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
||||||
|
|
||||||
|
[glusterfs-epel]
|
||||||
|
name=GlusterFS is a clustered file-system capable of scaling to several petabytes.
|
||||||
|
baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/$basearch/
|
||||||
|
enabled=1
|
||||||
|
skip_if_unavailable=1
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key
|
||||||
|
|
||||||
|
[glusterfs-noarch-epel]
|
||||||
|
name=GlusterFS is a clustered file-system capable of scaling to several petabytes.
|
||||||
|
baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/noarch
|
||||||
|
enabled=1
|
||||||
|
skip_if_unavailable=1
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key
|
||||||
|
|
||||||
|
[glusterfs-source-epel]
|
||||||
|
name=GlusterFS is a clustered file-system capable of scaling to several petabytes. - Source
|
||||||
|
baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/SRPMS
|
||||||
|
enabled=0
|
||||||
|
skip_if_unavailable=1
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/pub.key
|
Loading…
Reference in New Issue
Block a user