-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Fixing CentOS Stream 8 and Ubuntu 24.04
- Loading branch information
Showing
15 changed files
with
164 additions
and
65 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,18 @@ | ||
# CentOS-Stream-AppStream.repo | ||
# | ||
# The mirrorlist system uses the connecting IP address of the client and the | ||
# update status of each mirror to pick current mirrors that are geographically | ||
# close to the client. You should use this for CentOS updates unless you are | ||
# manually picking other mirrors. | ||
# | ||
# If the mirrorlist does not work for you, you can try the commented out | ||
# baseurl line instead. | ||
|
||
[appstream] | ||
name=CentOS Stream $releasever - AppStream | ||
#mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=AppStream&infra=$infra | ||
baseurl=http://vault.centos.org/$contentdir/$stream/AppStream/$basearch/os/ | ||
#baseurl=http://mirror.centos.org/$contentdir/$stream/AppStream/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
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,18 @@ | ||
# CentOS-Stream-BaseOS.repo | ||
# | ||
# The mirrorlist system uses the connecting IP address of the client and the | ||
# update status of each mirror to pick current mirrors that are geographically | ||
# close to the client. You should use this for CentOS updates unless you are | ||
# manually picking other mirrors. | ||
# | ||
# If the mirrorlist does not work for you, you can try the commented out | ||
# baseurl line instead. | ||
|
||
[baseos] | ||
name=CentOS Stream $releasever - BaseOS | ||
#mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=BaseOS&infra=$infra | ||
baseurl=http://vault.centos.org/$contentdir/$stream/BaseOS/$basearch/os/ | ||
#baseurl=http://mirror.centos.org/$contentdir/$stream/BaseOS/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
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,19 @@ | ||
# CentOS-Stream-Extras-common.repo | ||
# | ||
# The mirrorlist system uses the connecting IP address of the client and the | ||
# update status of each mirror to pick current mirrors that are geographically | ||
# close to the client. You should use this for CentOS updates unless you are | ||
# manually picking other mirrors. | ||
# | ||
# If the mirrorlist does not work for you, you can try the commented out | ||
# baseurl line instead. | ||
|
||
[extras-common] | ||
name=CentOS Stream $releasever - Extras common packages | ||
#mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=extras-extras-common | ||
baseurl=http://vault.centos.org/$contentdir/$stream/extras/$basearch/extras-common/ | ||
#baseurl=http://mirror.centos.org/$contentdir/$stream/extras/$basearch/extras-common/ | ||
gpgcheck=1 | ||
enabled=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Extras | ||
|
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,20 @@ | ||
# CentOS-Stream-Extras.repo | ||
# | ||
# The mirrorlist system uses the connecting IP address of the client and the | ||
# update status of each mirror to pick current mirrors that are geographically | ||
# close to the client. You should use this for CentOS updates unless you are | ||
# manually picking other mirrors. | ||
# | ||
# If the mirrorlist does not work for you, you can try the commented out | ||
# baseurl line instead. | ||
|
||
[extras] | ||
name=CentOS Stream $releasever - Extras | ||
#mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=extras&infra=$infra | ||
baseurl=http://vault.centos.org/$contentdir/$stream/extras/$basearch/os/ | ||
#baseurl=http://mirror.centos.org/$contentdir/$stream/extras/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial | ||
|
||
|
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,18 @@ | ||
# CentOS-Stream-PowerTools.repo | ||
# | ||
# The mirrorlist system uses the connecting IP address of the client and the | ||
# update status of each mirror to pick current mirrors that are geographically | ||
# close to the client. You should use this for CentOS updates unless you are | ||
# manually picking other mirrors. | ||
# | ||
# If the mirrorlist does not work for you, you can try the commented out | ||
# baseurl line instead. | ||
|
||
[powertools] | ||
name=CentOS Stream $releasever - PowerTools | ||
#mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=PowerTools&infra=$infra | ||
baseurl=http://vault.centos.org/$contentdir/$stream/PowerTools/$basearch/os/ | ||
#baseurl=http://mirror.centos.org/$contentdir/$stream/PowerTools/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
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
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 |
---|---|---|
|
@@ -9,8 +9,8 @@ LABEL authors="Christophe Gattardi <[email protected]>" | |
LABEL version="0.1" | ||
|
||
# Docker build time environment variables | ||
ENV container docker | ||
ENV HOME /home/build | ||
ENV container="docker" | ||
ENV HOME="/home/build" | ||
|
||
# Update of Fedora and configure the locale | ||
RUN dnf -y upgrade && \ | ||
|
@@ -19,9 +19,9 @@ RUN dnf -y upgrade && \ | |
localedef -f UTF-8 -i en_US en_US.UTF-8 | ||
|
||
# | ||
ENV LANGUAGE en_US:en | ||
ENV LANG en_US.UTF-8 | ||
ENV LC_ALL $LANG | ||
ENV LANGUAGE="en_US:en" | ||
ENV LANG="en_US.UTF-8" | ||
ENV LC_ALL="$LANG" | ||
|
||
# Environment for the `root` user | ||
ADD resources/bashrc /root/.bashrc | ||
|
@@ -88,7 +88,7 @@ WORKDIR $HOME/.pyenv | |
RUN git pull | ||
WORKDIR $HOME | ||
|
||
ENV PATH $HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH | ||
ENV PATH="$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH" | ||
# Python 3.8.20 | ||
RUN pyenv install 3.8.20 && \ | ||
pyenv global 3.8.20 && \ | ||
|
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 |
---|---|---|
|
@@ -9,8 +9,8 @@ LABEL authors="Christophe Gattardi <[email protected]>" | |
LABEL version="0.1" | ||
|
||
# Docker build time environment variables | ||
ENV container docker | ||
ENV HOME /home/build | ||
ENV container="docker" | ||
ENV HOME="/home/build" | ||
|
||
# Update of Fedora and configure the locale | ||
RUN dnf -y upgrade && \ | ||
|
@@ -19,9 +19,9 @@ RUN dnf -y upgrade && \ | |
localedef -f UTF-8 -i en_US en_US.UTF-8 | ||
|
||
# | ||
ENV LANGUAGE en_US:en | ||
ENV LANG en_US.UTF-8 | ||
ENV LC_ALL $LANG | ||
ENV LANGUAGE="en_US:en" | ||
ENV LANG="en_US.UTF-8" | ||
ENV LC_ALL="$LANG" | ||
|
||
# Environment for the `root` user | ||
ADD resources/bashrc /root/.bashrc | ||
|
@@ -88,7 +88,7 @@ WORKDIR $HOME/.pyenv | |
RUN git pull | ||
WORKDIR $HOME | ||
|
||
ENV PATH $HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH | ||
ENV PATH="$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH" | ||
# Python 3.8.20 | ||
RUN pyenv install 3.8.20 && \ | ||
pyenv global 3.8.20 && \ | ||
|
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
Oops, something went wrong.