1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool manifest ci/manifest.yml
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM docker.io/library/debian:12-slim
9 RUN export DEBIAN_FRONTEND=noninteractive && \
11 apt-get install -y eatmydata && \
12 eatmydata apt-get dist-upgrade -y && \
13 eatmydata apt-get install --no-install-recommends -y \
52 eatmydata apt-get autoremove -y && \
53 eatmydata apt-get autoclean -y && \
54 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
55 dpkg-reconfigure locales && \
56 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
58 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
59 ENV LANG "en_US.UTF-8"
60 ENV MAKE "/usr/bin/make"
61 ENV NINJA "/usr/bin/ninja"
62 ENV PYTHON "/usr/bin/python3"
64 RUN export DEBIAN_FRONTEND=noninteractive && \
65 dpkg --add-architecture armhf && \
66 eatmydata apt-get update && \
67 eatmydata apt-get dist-upgrade -y && \
68 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
69 eatmydata apt-get install --no-install-recommends -y \
70 gcc-arm-linux-gnueabihf \
72 libapparmor-dev:armhf \
78 libcurl4-gnutls-dev:armhf \
79 libdevmapper-dev:armhf \
81 libglib2.0-dev:armhf \
82 libglusterfs-dev:armhf \
83 libgnutls28-dev:armhf \
87 libnl-route-3-dev:armhf \
90 libpcap0.8-dev:armhf \
91 libpciaccess-dev:armhf \
93 libreadline-dev:armhf \
94 libsanlock-dev:armhf \
96 libselinux1-dev:armhf \
97 libssh-gcrypt-dev:armhf \
103 systemtap-sdt-dev:armhf && \
104 eatmydata apt-get autoremove -y && \
105 eatmydata apt-get autoclean -y && \
106 mkdir -p /usr/local/share/meson/cross && \
107 printf "[binaries]\n\
108 c = '/usr/bin/arm-linux-gnueabihf-gcc'\n\
109 ar = '/usr/bin/arm-linux-gnueabihf-gcc-ar'\n\
110 strip = '/usr/bin/arm-linux-gnueabihf-strip'\n\
111 pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'\n\
115 cpu_family = 'arm'\n\
117 endian = 'little'\n" > /usr/local/share/meson/cross/arm-linux-gnueabihf && \
118 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
119 mkdir -p /usr/libexec/ccache-wrappers && \
120 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-cc && \
121 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-gcc
123 ENV ABI "arm-linux-gnueabihf"
124 ENV MESON_OPTS "--cross-file=arm-linux-gnueabihf"