Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Traylen
reposync
Commits
2c1041d8
Commit
2c1041d8
authored
Aug 06, 2018
by
Alex Iribarren
Browse files
Try to produce smaller images
parent
d7af6f12
Changes
2
Hide whitespace changes
Inline
Side-by-side
reposync/Dockerfile
View file @
2c1041d8
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/
...
...
scheduler/Dockerfile
View file @
2c1041d8
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment