-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update RHEL7/Centos7/OracleLinux7 dockerfiles (#829)
- Rapidjson has a google test submodule that it installs. This module is incompatible with our usage of google test, and conflicts with the version that we clone ourselves. Disable installations of rapidjson's googletest and reorder to ensure google test is built last. - Centos 7 mirror lists have been decommissioned but we can still access a snapshot of the repo - we just have to overwrite the repo definitions.
- Loading branch information
Showing
6 changed files
with
76 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[base] | ||
name=CentOS-$releasever - Base | ||
baseurl=https://vault.centos.org/7.9.2009/os/$basearch/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 | ||
|
||
#released updates | ||
[updates] | ||
name=CentOS-$releasever - Updates | ||
baseurl=https://vault.centos.org/7.9.2009/updates/$basearch/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 | ||
|
||
#additional packages that may be useful | ||
[extras] | ||
name=CentOS-$releasever - Extras | ||
baseurl=https://vault.centos.org/7.9.2009/extras/$basearch/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[base] | ||
name=CentOS-$releasever - Base | ||
baseurl=https://vault.centos.org/7.9.2009/os/$basearch/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 | ||
|
||
#released updates | ||
[updates] | ||
name=CentOS-$releasever - Updates | ||
baseurl=https://vault.centos.org/7.9.2009/updates/$basearch/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 | ||
|
||
#additional packages that may be useful | ||
[extras] | ||
name=CentOS-$releasever - Extras | ||
baseurl=https://vault.centos.org/7.9.2009/extras/$basearch/ | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM ghcr.io/azure/azure-osconfig/ubuntu-14.04-amd64:latest | ||
|
||
RUN apt-get install -y ninja-build | ||
|
||
WORKDIR /git | ||
|
||
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0 | ||
RUN cd googletest && cmake . -G Ninja && cmake --build . --target install && rm -rf /git/googletest |