gitlab: add builds on CentOS 8 Stream

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2020-06-24 16:41:25 +01:00
parent aa4482a223
commit a0f4d1490a
2 changed files with 85 additions and 0 deletions

View File

@ -94,6 +94,11 @@ x86-centos-8-container:
variables:
NAME: centos-8
x86-centos-stream-container:
<<: *container_job_definition
variables:
NAME: centos-stream
x86-debian-9-container:
<<: *container_job_definition
variables:
@ -151,6 +156,12 @@ x86-centos-8-git-build:
NAME: centos-8
RPM: skip
x86-centos-stream-dist-build:
<<: *git_native_build_job_definition
variables:
NAME: centos-stream
RPM: skip
x86-debian-9-dist-build:
<<: *dist_native_build_job_definition
variables:

View File

@ -0,0 +1,74 @@
FROM centos:8
RUN dnf install -y centos-release-stream && \
dnf install 'dnf-command(config-manager)' -y && \
dnf config-manager --set-enabled -y Stream-PowerTools && \
dnf install -y epel-release && \
dnf update -y && \
dnf install -y \
autoconf \
automake \
bash \
bash-completion \
ca-certificates \
ccache \
chrony \
cyrus-sasl-devel \
gcc \
gdb \
gdk-pixbuf2-devel \
gettext \
gettext-devel \
git \
glib2-devel \
glibc-devel \
glibc-langpack-en \
gnutls-devel \
gobject-introspection-devel \
gtk-doc \
gtk3-devel \
icoutils \
intltool \
libgcrypt-devel \
libnl3-devel \
libtirpc-devel \
libtool \
libxml2 \
libxml2-devel \
libxslt \
lsof \
make \
meson \
net-tools \
ninja-build \
patch \
perl \
perl-App-cpanminus \
pkgconfig \
pulseaudio-libs-devel \
python3 \
python3-docutils \
python3-pip \
python3-setuptools \
python3-wheel \
rpcgen \
rpm-build \
screen \
spice-gtk3-devel \
strace \
sudo \
vala \
vim && \
dnf autoremove -y && \
dnf clean all -y && \
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"