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>
46 lines
1.3 KiB
Docker
46 lines
1.3 KiB
Docker
# THIS FILE WAS AUTO-GENERATED
|
|
#
|
|
# $ lcitool dockerfile centos-7 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
|
|
#
|
|
# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
|
|
FROM registry.centos.org/centos:7
|
|
|
|
RUN yum update -y && \
|
|
echo 'skip_missing_names_on_install=0' >> /etc/yum.conf && \
|
|
yum install -y epel-release && \
|
|
yum install -y \
|
|
autoconf \
|
|
automake \
|
|
bash-completion \
|
|
ca-certificates \
|
|
ccache \
|
|
gcc \
|
|
gettext-devel \
|
|
git \
|
|
glib2-devel \
|
|
glibc-common \
|
|
gtk-vnc2-devel \
|
|
gtk3-devel \
|
|
icoutils \
|
|
libgovirt-devel \
|
|
libtool \
|
|
libvirt-devel \
|
|
libvirt-gobject-devel \
|
|
libxml2 \
|
|
libxml2-devel \
|
|
make \
|
|
pkgconfig \
|
|
rest-devel \
|
|
rpm-build \
|
|
spice-gtk3-devel && \
|
|
yum autoremove -y && \
|
|
yum 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)
|
|
|
|
ENV LANG "en_US.UTF-8"
|
|
ENV MAKE "/usr/bin/make"
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|