Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GR Build Images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ingo Meyer
GR Build Images
Commits
0003dd39
Verified
Commit
0003dd39
authored
8 months ago
by
Ingo Meyer
Browse files
Options
Downloads
Patches
Plain Diff
Use CentOS 7 vault mirrors
parent
cb163f92
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#89446
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
centos7-self-contained/Dockerfile
+7
-0
7 additions, 0 deletions
centos7-self-contained/Dockerfile
centos7-system-dependencies/Dockerfile
+7
-0
7 additions, 0 deletions
centos7-system-dependencies/Dockerfile
with
14 additions
and
0 deletions
centos7-self-contained/Dockerfile
+
7
−
0
View file @
0003dd39
FROM
centos:7
# CentOS 7 has reached end-of-life on 2024-06-30, thus use vault mirrors
RUN
sed
-i
's/mirrorlist/#mirrorlist/g'
/etc/yum.repos.d/CentOS-
*
&&
\
sed
-i
's%#baseurl=http://mirror.centos.org%baseurl=http://vault.centos.org%g'
/etc/yum.repos.d/CentOS-
*
RUN
yum update
-y
&&
\
yum groupinstall
-y
"Development Tools"
&&
\
yum groupinstall
-y
"X Window System"
&&
\
...
...
@@ -21,5 +25,8 @@ RUN yum update -y && \
qt5-qtbase-devel
\
which
&&
\
yum
install
-y
centos-release-scl
&&
\
sed
-i
's/mirrorlist/#mirrorlist/g'
/etc/yum.repos.d/CentOS-SCLo-
*
&&
\
sed
-i
's%#baseurl=http://mirror.centos.org%baseurl=http://vault.centos.org%g'
/etc/yum.repos.d/CentOS-SCLo-
*
&&
\
sed
-i
's%/7/%/$releasever/%g'
/etc/yum.repos.d/CentOS-SCLo-
*
&&
\
yum
install
-y
devtoolset-8
&&
\
yum clean all
This diff is collapsed.
Click to expand it.
centos7-system-dependencies/Dockerfile
+
7
−
0
View file @
0003dd39
FROM
centos:7
# CentOS 7 has reached end-of-life on 2024-06-30, thus use vault mirrors
RUN
sed
-i
's/mirrorlist/#mirrorlist/g'
/etc/yum.repos.d/CentOS-
*
&&
\
sed
-i
's%#baseurl=http://mirror.centos.org%baseurl=http://vault.centos.org%g'
/etc/yum.repos.d/CentOS-
*
RUN
yum update
-y
&&
\
yum groupinstall
-y
"Development Tools"
&&
\
yum groupinstall
-y
"X Window System"
&&
\
...
...
@@ -16,5 +20,8 @@ RUN yum update -y && \
texlive-dvipng
\
which
&&
\
yum
install
-y
centos-release-scl
&&
\
sed
-i
's/mirrorlist/#mirrorlist/g'
/etc/yum.repos.d/CentOS-SCLo-
*
&&
\
sed
-i
's%#baseurl=http://mirror.centos.org%baseurl=http://vault.centos.org%g'
/etc/yum.repos.d/CentOS-SCLo-
*
&&
\
sed
-i
's%/7/%/$releasever/%g'
/etc/yum.repos.d/CentOS-SCLo-
*
&&
\
yum
install
-y
devtoolset-8
&&
\
yum clean all
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