From 2053c805fcf0e83955f84ee04fac3a3cc614232b Mon Sep 17 00:00:00 2001 From: "Jose A. Rivera" Date: Wed, 29 Nov 2017 12:20:22 -0600 Subject: Fedora: Update per Fedora container review Signed-off-by: Jose A. Rivera --- Fedora/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Fedora') diff --git a/Fedora/Dockerfile b/Fedora/Dockerfile index da394cc..9859052 100644 --- a/Fedora/Dockerfile +++ b/Fedora/Dockerfile @@ -1,4 +1,4 @@ -FROM fedora +FROM registry.fedoraproject.org/fedora:latest ENV NAME="gluster-fedora" \ DESC="GlusterFS on Fedora" \ @@ -14,7 +14,7 @@ LABEL name="$REPO/$NAME" \ architecture="$ARCH" \ vendor="Red Hat, Inc" \ summary="$DESC" \ - usage="docker run -d $REPO/$NAME" \ + usage="docker run -d -P --tmpfs /run --tmpfs /tmp -v /sys/fs/cgroup:/sys/fs/cgroup $REPO/$NAME" \ io.k8s.display-name="$DESC" \ io.k8s.description="GlusterFS is a distributed and scalable network filesystem. Using common, off-the-shelf hardware you can create large, distributed storage solutions for media streaming, data analysis, and other data- and bandwidth-intensive tasks." \ io.openshift.tags="gluster,glusterfs,gluster-fedora" \ @@ -23,6 +23,8 @@ LABEL name="$REPO/$NAME" \ VOLUME [ "/sys/fs/cgroup/" ] +ADD https://github.com/gluster/gluster-containers/blob/master/README.md /README.md + COPY gluster-setup.sh gluster-brickmultiplex.service gluster-brickmultiplex.sh gluster-setup.service / RUN dnf -y update && \ -- cgit v1.2.3