summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 && \