Commit 2c1041d8 authored by Alex Iribarren's avatar Alex Iribarren
Browse files

Try to produce smaller images

parent d7af6f12
FROM cern/cc7-base
RUN yum install -y jq
RUN yum install -y jq \
&& yum clean all
RUN rm -rf /etc/yum.repos.d
COPY yum.repos.d /etc/yum.repos.d/
......
......@@ -2,15 +2,15 @@ FROM cern/cc7-base
ENV NOMAD_VERSION 0.8.4
RUN yum install -y jq unzip
RUN yum install -y jq unzip \
&& yum clean all
ADD https://releases.hashicorp.com/nomad/${NOMAD_VERSION}/nomad_${NOMAD_VERSION}_linux_amd64.zip /tmp/nomad.zip
RUN unzip /tmp/nomad.zip -d /usr/local/bin/
RUN unzip /tmp/nomad.zip -d /usr/local/bin/ \
&& rm -rf /etc/yum.repos.d
RUN rm -rf /etc/yum.repos.d
COPY yum.repos.d /etc/yum.repos.d/
COPY repos.json /root/
COPY schedulereposync.sh /root/
COPY repos.json schedulereposync.sh /root/
WORKDIR /root
......
Supports Markdown
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