Skip to content

Commit

Permalink
Get centos:7 images updated (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthalman authored Apr 19, 2024
1 parent ed08b89 commit d37b4d6
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 44 deletions.
8 changes: 8 additions & 0 deletions eng/pipelines/dotnet-buildtools-prereqs-centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ trigger:
- src/centos/*
pr: none

schedules:
- cron: "0 5 * * 1"
displayName: Weekly build
branches:
include:
- main
always: true

resources:
repositories:
- repository: 1ESPipelineTemplates
Expand Down
6 changes: 5 additions & 1 deletion src/centos/7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ FROM centos:7

# Install dependencies

RUN yum install -y \
RUN \
# Since the base image isn't actively maintained, force an upgrade of existing packages
yum update -y \
&& \
yum install -y \
centos-release-scl \
epel-release \
scl-utils-build \
Expand Down
26 changes: 0 additions & 26 deletions src/centos/7/rpmpkg/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions src/centos/7/rpmpkg/scl_enable

This file was deleted.

6 changes: 5 additions & 1 deletion src/centos/7/source-build/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ FROM centos:7

# Install dependencies

RUN yum install -y \
RUN \
# Since the base image isn't actively maintained, force an upgrade of existing packages
yum update -y \
&& \
yum install -y \
centos-release-scl \
epel-release \
scl-utils-build \
Expand Down
13 changes: 0 additions & 13 deletions src/centos/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,6 @@
}
]
},
{
"platforms": [
{
"dockerfile": "src/centos/7/rpmpkg",
"os": "linux",
"osVersion": "centos7",
"tags": {
"centos-7-rpmpkg-$(System:TimeStamp)-$(System:DockerfileGitCommitSha)": {},
"centos-7-rpmpkg$(FloatingTagSuffix)": {}
}
}
]
},
{
"platforms": [
{
Expand Down

0 comments on commit d37b4d6

Please sign in to comment.