summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2017-11-29 12:20:22 -0600
committerNiels de Vos <ndevos@redhat.com>2017-12-05 17:48:54 +0100
commit2053c805fcf0e83955f84ee04fac3a3cc614232b (patch)
treef01d441c8111b36fb3dda7a4484134c22c866b22
parent9a29c12bcaec4d68d35fbfdc634d5e60cd5154ce (diff)
downloadgluster-2053c805fcf0e83955f84ee04fac3a3cc614232b.tar.gz
gluster-2053c805fcf0e83955f84ee04fac3a3cc614232b.tar.bz2
gluster-2053c805fcf0e83955f84ee04fac3a3cc614232b.tar.xz
gluster-2053c805fcf0e83955f84ee04fac3a3cc614232b.zip
Fedora: Update per Fedora container review
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
-rw-r--r--Fedora/Dockerfile6
1 files changed, 4 insertions, 2 deletions
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 && \