2020-12-14 16:24:37 +01:00
# THIS FILE WAS AUTO-GENERATED
#
2021-09-09 14:49:01 +01:00
# $ lcitool manifest ci/manifest.yml
2020-12-14 16:24:37 +01:00
#
2021-07-19 13:36:51 +01:00
# https://gitlab.com/libvirt/libvirt-ci
2021-04-15 19:07:16 +02:00
2020-12-14 16:24:37 +01:00
FROM docker.io/library/debian:sid-slim
2020-06-02 17:28:57 +02:00
RUN export DEBIAN_FRONTEND = noninteractive && \
apt-get update && \
2020-12-14 16:24:37 +01:00
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
2020-06-02 17:28:57 +02:00
augeas-lenses \
augeas-tools \
bash-completion \
ca-certificates \
ccache \
2021-04-15 19:07:16 +02:00
cpp \
2020-11-23 18:20:57 +00:00
diffutils \
2020-06-02 17:28:57 +02:00
dnsmasq-base \
dwarves \
ebtables \
flake8 \
gettext \
git \
2021-03-23 15:33:33 +01:00
grep \
2020-06-02 17:28:57 +02:00
iproute2 \
2021-02-11 12:13:48 +01:00
iptables \
2020-06-02 17:28:57 +02:00
kmod \
libc-dev-bin \
libxml2-utils \
locales \
lvm2 \
make \
meson \
nfs-common \
ninja-build \
numad \
open-iscsi \
parted \
2021-05-04 10:39:31 +02:00
perl-base \
2020-06-02 17:28:57 +02:00
pkgconf \
policykit-1 \
python3 \
python3-docutils \
qemu-utils \
radvd \
scrub \
2021-03-23 15:33:33 +01:00
sed \
2020-06-02 17:28:57 +02:00
xsltproc \
zfs-fuse && \
2020-12-14 16:24:37 +01:00
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
2020-06-02 17:28:57 +02:00
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales && \
2020-12-14 16:24:37 +01:00
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
2020-06-02 17:28:57 +02:00
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-cc && \
2021-04-15 19:07:16 +02:00
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-gcc
2020-06-02 17:28:57 +02:00
RUN export DEBIAN_FRONTEND = noninteractive && \
dpkg --add-architecture armhf && \
2020-12-14 16:24:37 +01:00
eatmydata apt-get update && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
eatmydata apt-get install --no-install-recommends -y \
2020-06-02 17:28:57 +02:00
gcc-arm-linux-gnueabihf \
libacl1-dev:armhf \
libapparmor-dev:armhf \
libattr1-dev:armhf \
libaudit-dev:armhf \
libblkid-dev:armhf \
libc6-dev:armhf \
libcap-ng-dev:armhf \
libcurl4-gnutls-dev:armhf \
libdbus-1-dev:armhf \
libdevmapper-dev:armhf \
libfuse-dev:armhf \
libglib2.0-dev:armhf \
libglusterfs-dev:armhf \
libgnutls28-dev:armhf \
libiscsi-dev:armhf \
libnl-3-dev:armhf \
libnl-route-3-dev:armhf \
2020-07-28 14:24:27 +02:00
libnuma-dev:armhf \
2020-06-02 17:28:57 +02:00
libparted-dev:armhf \
libpcap0.8-dev:armhf \
libpciaccess-dev:armhf \
librbd-dev:armhf \
libreadline-dev:armhf \
libsanlock-dev:armhf \
libsasl2-dev:armhf \
libselinux1-dev:armhf \
libssh-gcrypt-dev:armhf \
libssh2-1-dev:armhf \
libtirpc-dev:armhf \
libudev-dev:armhf \
libxen-dev:armhf \
libxml2-dev:armhf \
libyajl-dev:armhf \
2021-01-20 17:28:03 +01:00
systemtap-sdt-dev:armhf \
2020-06-02 17:28:57 +02:00
xfslibs-dev:armhf && \
2020-12-14 16:24:37 +01:00
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
2020-08-03 08:53:00 +02:00
mkdir -p /usr/local/share/meson/cross && \
echo " [binaries]\n \
c = '/usr/bin/arm-linux-gnueabihf-gcc' \n \
ar = '/usr/bin/arm-linux-gnueabihf-gcc-ar' \n \
strip = '/usr/bin/arm-linux-gnueabihf-strip' \n \
pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config' \n \
\n \
[ host_machine] \n \
system = 'linux' \n \
cpu_family = 'arm' \n \
cpu = 'armhf' \n \
endian = 'little' " > /usr/local/share/meson/cross/arm-linux-gnueabihf
2020-06-02 17:28:57 +02:00
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV NINJA "/usr/bin/ninja"
ENV PYTHON "/usr/bin/python3"
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
ENV ABI "arm-linux-gnueabihf"
2020-08-03 08:53:00 +02:00
ENV MESON_OPTS "--cross-file=arm-linux-gnueabihf"