Add CentOS Stream 8 to CI

There's no official Docker image on the Docker Hub, it's on quay.io:
https://quay.io/repository/centos/centos?tab=tags

At the moment, "Stream" and "Stream 8" are synonymous.
This commit is contained in:
Christian Kreibich 2021-02-23 21:15:02 -08:00
parent 8c4092a0ad
commit 23b0567e62
2 changed files with 30 additions and 0 deletions

View file

@ -104,6 +104,13 @@ fedora32_task:
<< : *RESOURCES_TEMPLATE << : *RESOURCES_TEMPLATE
<< : *CI_TEMPLATE << : *CI_TEMPLATE
centosstream8_task:
container:
# Stream 8 support should be 5 years, so until 2024. but I cannot find a concrete timeline --cpk
dockerfile: ci/centos-stream-8/Dockerfile
<< : *RESOURCES_TEMPLATE
<< : *CI_TEMPLATE
centos8_task: centos8_task:
container: container:
# CentOS 8 EOL: May 31, 2029 # CentOS 8 EOL: May 31, 2029

View file

@ -0,0 +1,23 @@
FROM quay.io/centos/centos:stream8
RUN dnf config-manager --set-enabled powertools
RUN dnf -y install \
bison \
cmake \
diffutils \
flex \
git \
gcc \
gcc-c++ \
libpcap-devel \
make \
openssl-devel \
python3-devel \
python3-pip\
sqlite \
swig \
zlib-devel \
&& dnf clean all && rm -rf /var/cache/dnf
RUN pip3 install junit2html