Debian Codegraph @

ci/containers/ci-centos-8.Dockerfile

raw
1 # THIS FILE WAS AUTO-GENERATED
2 #
3 # $ lcitool dockerfile centos-8 libvirt+dist,libvirt-glib+dist,libvirt-dbus
4 #
5 # https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
6 FROM docker.io/library/centos:8
7
8 RUN dnf update -y && \
9 dnf install 'dnf-command(config-manager)' -y && \
10 dnf config-manager --set-enabled -y powertools && \
11 dnf install -y centos-release-advanced-virtualization && \
12 dnf install -y epel-release && \
13 dnf install -y \
14 ca-certificates \
15 ccache \
16 dbus-daemon \
17 gcc \
18 git \
19 glib2-devel \
20 glibc-langpack-en \
21 libvirt-devel \
22 libvirt-gobject-devel \
23 make \
24 ninja-build \
25 pkgconfig \
26 python3 \
27 python3-dbus \
28 python3-docutils \
29 python3-flake8 \
30 python3-gobject \
31 python3-pip \
32 python3-pytest \
33 python3-setuptools \
34 python3-wheel \
35 rpm-build && \
36 dnf autoremove -y && \
37 dnf clean all -y && \
38 rpm -qa | sort > /packages.txt && \
39 mkdir -p /usr/libexec/ccache-wrappers && \
40 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
41 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
42
43 RUN pip3 install \
44 meson==0.54.0
45
46 ENV LANG "en_US.UTF-8"
47 ENV MAKE "/usr/bin/make"
48 ENV NINJA "/usr/bin/ninja"
49 ENV PYTHON "/usr/bin/python3"
50 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"