Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
reposync
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
linuxsupport
cronjobs
reposync
Commits
2c1041d8
There was a problem fetching the pipeline summary.
Commit
2c1041d8
authored
6 years ago
by
Alex Iribarren
Browse files
Options
Downloads
Patches
Plain Diff
Try to produce smaller images
parent
d7af6f12
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
reposync/Dockerfile
+2
-1
2 additions, 1 deletion
reposync/Dockerfile
scheduler/Dockerfile
+5
-5
5 additions, 5 deletions
scheduler/Dockerfile
with
7 additions
and
6 deletions
reposync/Dockerfile
+
2
−
1
View file @
2c1041d8
FROM
cern/cc7-base
FROM
cern/cc7-base
RUN
yum
install
-y
jq
RUN
yum
install
-y
jq
\
&&
yum clean all
RUN
rm
-rf
/etc/yum.repos.d
RUN
rm
-rf
/etc/yum.repos.d
COPY
yum.repos.d /etc/yum.repos.d/
COPY
yum.repos.d /etc/yum.repos.d/
...
...
This diff is collapsed.
Click to expand it.
scheduler/Dockerfile
+
5
−
5
View file @
2c1041d8
...
@@ -2,15 +2,15 @@ FROM cern/cc7-base
...
@@ -2,15 +2,15 @@ FROM cern/cc7-base
ENV
NOMAD_VERSION 0.8.4
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
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
yum.repos.d /etc/yum.repos.d/
COPY
repos.json /root/
COPY
repos.json schedulereposync.sh /root/
COPY
schedulereposync.sh /root/
WORKDIR
/root
WORKDIR
/root
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment