Commit db4c833e authored by Fabio Luchetti's avatar Fabio Luchetti
Browse files

On minimal images, install 'eos-quarkdb' on diopside builds, 'quarkdb' otherwise

parent 6fa48c0f
Pipeline #2735811 skipped with stage
......@@ -16,14 +16,15 @@ ARG REPOBRANCH=tag
COPY eos-docker/minimal/el-7/epel.repo /etc/yum.repos.d/epel.repo
COPY eos-docker/minimal/el-7/eos.repo /etc/yum.repos.d/eos.repo
COPY eos-docker/minimal/el-7/quarkdb.repo /etc/yum.repos.d/quarkdb.repo
RUN sed -i "s|__EOS_CODENAME__|${EOS_CODENAME}|g" /etc/yum.repos.d/eos.repo
RUN sed -i "s|__EOS_CODENAME__|${EOS_CODENAME}|g" /etc/yum.repos.d/eos.repo \
&& yum-config-manager --enable "eos-${REPOBRANCH}"
RUN yum -y --nogpg install epel-release \
&& yum -y --nogpg --enablerepo="eos-${REPOBRANCH}" install \
&& yum -y --nogpg install \
eos-archive eos-client eos-fusex eos-ns-inspect \
eos-server eos-test eos-testkeytab davix \
&& if [ "${EOS_CODENAME}" != "diopside" ]; then yum -y --nogpg install quarkdb; fi \
&& if [ "${EOS_CODENAME}" == "diopside" ]; then yum -y --nogpg install eos-quarkdb; else yum -y --nogpg install quarkdb; fi \
&& yum clean all && rm -rf /var/cache/yum
# @todo check these, chose one
......
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