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 s390x && \
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 \
71 libapparmor-dev:s390x \
77 libcurl4-gnutls-dev:s390x \
78 libdevmapper-dev:s390x \
80 libglib2.0-dev:s390x \
81 libglusterfs-dev:s390x \
82 libgnutls28-dev:s390x \
86 libnl-route-3-dev:s390x \
89 libpcap0.8-dev:s390x \
90 libpciaccess-dev:s390x \
92 libreadline-dev:s390x \
93 libsanlock-dev:s390x \
95 libselinux1-dev:s390x \
96 libssh-gcrypt-dev:s390x \
101 systemtap-sdt-dev:s390x && \
102 eatmydata apt-get autoremove -y && \
103 eatmydata apt-get autoclean -y && \
104 mkdir -p /usr/local/share/meson/cross && \
105 printf "[binaries]\n\
106 c = '/usr/bin/s390x-linux-gnu-gcc'\n\
107 ar = '/usr/bin/s390x-linux-gnu-gcc-ar'\n\
108 strip = '/usr/bin/s390x-linux-gnu-strip'\n\
109 pkgconfig = '/usr/bin/s390x-linux-gnu-pkg-config'\n\
113 cpu_family = 's390x'\n\
115 endian = 'big'\n" > /usr/local/share/meson/cross/s390x-linux-gnu && \
116 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
117 mkdir -p /usr/libexec/ccache-wrappers && \
118 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-cc && \
119 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-gcc
121 ENV ABI "s390x-linux-gnu"
122 ENV MESON_OPTS "--cross-file=s390x-linux-gnu"