Verified Commit 049c6cf5 authored by Joey Vos's avatar Joey Vos 🤘

Moved from ubuntu gluster-latest to debian gluster-7.1, as base image is debian-stretch

parent b27c178e
Pipeline #431 passed with stage
in 4 minutes and 44 seconds
......@@ -3,14 +3,9 @@ FROM rancher/hyperkube:${RANCHER_HYPERKUBE_VERSION}
ARG GLUSTERFS_VERSION="7"
# Update GlusterFS Client
RUN DEBIAN_FRONTEND=noninteractive apt-get -yy -q purge \
glusterfs-client \
&& { wget -O- https://download.gluster.org/pub/gluster/glusterfs/${GLUSTERFS_VERSION}/rsa.pub | apt-key add - } \
&& add-apt-repository -y ppa:gluster/glusterfs-${GLUSTERFS_VERSION} \
&& DEBIAN_FRONTEND=noninteractive apt-get update -y \
&& DEBIAN_FRONTEND=noninteractive apt-get -yy -q install \
glusterfs-client \
&& DEBIAN_FRONTEND=noninteractive apt-get autoremove -y \
&& DEBIAN_FRONTEND=noninteractive apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
glusterfs-client glusterfs-common \
&& clean-install wget \
&& { wget -O- https://download.gluster.org/pub/gluster/glusterfs/${GLUSTERFS_VERSION}/rsa.pub | apt-key add -; } \
&& { echo "deb [arch=amd64] https://download.gluster.org/pub/gluster/glusterfs/7/7.1/Debian/stretch/amd64/apt stretch main" > /etc/apt/sources.list.d/gluster.list; } \
&& clean-install glusterfs-client
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment