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:11-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 \
51 eatmydata apt-get autoremove -y && \
52 eatmydata apt-get autoclean -y && \
53 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
54 dpkg-reconfigure locales && \
55 rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
57 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
58 ENV LANG "en_US.UTF-8"
59 ENV MAKE "/usr/bin/make"
60 ENV NINJA "/usr/bin/ninja"
61 ENV PYTHON "/usr/bin/python3"
63 RUN export DEBIAN_FRONTEND=noninteractive && \
64 dpkg --add-architecture arm64 && \
65 eatmydata apt-get update && \
66 eatmydata apt-get dist-upgrade -y && \
67 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
68 eatmydata apt-get install --no-install-recommends -y \
69 gcc-aarch64-linux-gnu \
71 libapparmor-dev:arm64 \
77 libcurl4-gnutls-dev:arm64 \
78 libdevmapper-dev:arm64 \
80 libglib2.0-dev:arm64 \
81 libglusterfs-dev:arm64 \
82 libgnutls28-dev:arm64 \
86 libnl-route-3-dev:arm64 \
89 libpcap0.8-dev:arm64 \
90 libpciaccess-dev:arm64 \
92 libreadline-dev:arm64 \
93 libsanlock-dev:arm64 \
95 libselinux1-dev:arm64 \
96 libssh-gcrypt-dev:arm64 \
102 systemtap-sdt-dev:arm64 && \
103 eatmydata apt-get autoremove -y && \
104 eatmydata apt-get autoclean -y && \
105 mkdir -p /usr/local/share/meson/cross && \
106 printf "[binaries]\n\
107 c = '/usr/bin/aarch64-linux-gnu-gcc'\n\
108 ar = '/usr/bin/aarch64-linux-gnu-gcc-ar'\n\
109 strip = '/usr/bin/aarch64-linux-gnu-strip'\n\
110 pkgconfig = '/usr/bin/aarch64-linux-gnu-pkg-config'\n\
114 cpu_family = 'aarch64'\n\
116 endian = 'little'\n" > /usr/local/share/meson/cross/aarch64-linux-gnu && \
117 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
118 mkdir -p /usr/libexec/ccache-wrappers && \
119 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-cc && \
120 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-gcc
122 ENV ABI "aarch64-linux-gnu"
123 ENV MESON_OPTS "--cross-file=aarch64-linux-gnu"