Skip to content

Commit

Permalink
Merge pull request #125 from travier/c10s
Browse files Browse the repository at this point in the history
centos: Add CentOS Stream 10
  • Loading branch information
travier authored May 27, 2024
2 parents 33bb142 + ff698ce commit 17f6542
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/centos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
build-push-images:
strategy:
matrix:
release: ['stream8', 'stream9']
release: ['stream8', 'stream9', 'stream10-development']

runs-on: ubuntu-latest
steps:
Expand Down
25 changes: 25 additions & 0 deletions centos/stream10-development/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM quay.io/centos/centos:stream10-development

LABEL com.github.containers.toolbox="true" \
com.redhat.component="centos-toolbox" \
name="centos-toolbox" \
version="stream10-development" \
usage="This image is meant to be used with the toolbox command" \
summary="Base image for creating CentOS toolbox containers" \
maintainer="Timothée Ravier <tim@siosm.fr>"

RUN rm /etc/rpm/macros.image-language-conf
RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf

COPY missing-docs extra-packages /

RUN dnf -y upgrade && \
dnf -y swap coreutils-single coreutils-full && \
dnf -y swap glibc-minimal-langpack glibc-all-langpacks && \
dnf -y reinstall $(<missing-docs) && \
dnf -y install 'dnf-command(config-manager)' && \
dnf config-manager --set-enabled crb && \
dnf -y install $(<extra-packages) && \
dnf clean all

RUN rm /missing-docs /extra-packages
42 changes: 42 additions & 0 deletions centos/stream10-development/extra-packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
bash-completion
bc
bzip2
diffutils
dnf-plugins-core
findutils
flatpak-spawn
git
gnupg2
gnupg2-smime
gvfs-client
hostname
iproute
iputils
keyutils
krb5-libs
less
lsof
man-db
man-pages
mtr
nano
openssh-clients
passwd
pigz
procps-ng
rsync
shadow-utils
sudo
tcpdump
time
traceroute
tree
unzip
util-linux
vte-profile
wget
which
words
xorg-x11-xauth
xz
zip
15 changes: 15 additions & 0 deletions centos/stream10-development/missing-docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
acl
bash
curl
gawk
grep
gzip
libcap
openssl
p11-kit
pam
python3
rpm
sed
systemd
tar

0 comments on commit 17f6542

Please sign in to comment.