mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-07 17:17:45 +03:00
1e18203e55
A recent CentOS-8 update renamed the "PowerTools" repo to "powertools" and since dnf is case sensitive wrt repo names, this broke ability to build new containers. The refresh fixes the repo name and pulls in other misc improvements to containers. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
70 lines
1.8 KiB
Docker
70 lines
1.8 KiB
Docker
# THIS FILE WAS AUTO-GENERATED
|
|
#
|
|
# $ lcitool dockerfile centos-8 libvirt+minimal,libvirt-glib,gtk-vnc,virt-viewer
|
|
#
|
|
# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
|
|
FROM docker.io/library/centos:8
|
|
|
|
RUN dnf update -y && \
|
|
dnf install 'dnf-command(config-manager)' -y && \
|
|
dnf config-manager --set-enabled -y powertools && \
|
|
dnf install -y centos-release-advanced-virtualization && \
|
|
dnf install -y epel-release && \
|
|
dnf install -y \
|
|
autoconf \
|
|
automake \
|
|
bash-completion \
|
|
ca-certificates \
|
|
ccache \
|
|
cyrus-sasl-devel \
|
|
gcc \
|
|
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 \
|
|
make \
|
|
ninja-build \
|
|
perl \
|
|
pkgconfig \
|
|
pulseaudio-libs-devel \
|
|
python3 \
|
|
python3-docutils \
|
|
python3-pip \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
rpcgen \
|
|
rpm-build \
|
|
spice-gtk3-devel \
|
|
vala && \
|
|
dnf autoremove -y && \
|
|
dnf clean all -y && \
|
|
rpm -qa | sort > /packages.txt && \
|
|
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)
|
|
|
|
RUN pip3 install \
|
|
meson==0.54.0
|
|
|
|
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"
|