mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
121 lines
4.5 KiB
Docker
121 lines
4.5 KiB
Docker
|
# THIS FILE WAS AUTO-GENERATED
|
||
|
#
|
||
|
# $ lcitool manifest ci/manifest.yml
|
||
|
#
|
||
|
# https://gitlab.com/libvirt/libvirt-ci
|
||
|
|
||
|
FROM docker.io/library/debian:12-slim
|
||
|
|
||
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
apt-get update && \
|
||
|
apt-get install -y eatmydata && \
|
||
|
eatmydata apt-get dist-upgrade -y && \
|
||
|
eatmydata apt-get install --no-install-recommends -y \
|
||
|
augeas-lenses \
|
||
|
augeas-tools \
|
||
|
bash-completion \
|
||
|
ca-certificates \
|
||
|
ccache \
|
||
|
codespell \
|
||
|
cpp \
|
||
|
diffutils \
|
||
|
dwarves \
|
||
|
ebtables \
|
||
|
flake8 \
|
||
|
gettext \
|
||
|
git \
|
||
|
grep \
|
||
|
iproute2 \
|
||
|
iptables \
|
||
|
kmod \
|
||
|
libc-dev-bin \
|
||
|
libxml2-utils \
|
||
|
locales \
|
||
|
lvm2 \
|
||
|
make \
|
||
|
meson \
|
||
|
nfs-common \
|
||
|
ninja-build \
|
||
|
numad \
|
||
|
open-iscsi \
|
||
|
perl-base \
|
||
|
pkgconf \
|
||
|
policykit-1 \
|
||
|
python3 \
|
||
|
python3-docutils \
|
||
|
qemu-utils \
|
||
|
scrub \
|
||
|
sed \
|
||
|
xsltproc && \
|
||
|
eatmydata apt-get autoremove -y && \
|
||
|
eatmydata apt-get autoclean -y && \
|
||
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
||
|
dpkg-reconfigure locales
|
||
|
|
||
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|
||
|
ENV LANG "en_US.UTF-8"
|
||
|
ENV MAKE "/usr/bin/make"
|
||
|
ENV NINJA "/usr/bin/ninja"
|
||
|
ENV PYTHON "/usr/bin/python3"
|
||
|
|
||
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
dpkg --add-architecture ppc64el && \
|
||
|
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 \
|
||
|
gcc-powerpc64le-linux-gnu \
|
||
|
libacl1-dev:ppc64el \
|
||
|
libapparmor-dev:ppc64el \
|
||
|
libattr1-dev:ppc64el \
|
||
|
libaudit-dev:ppc64el \
|
||
|
libblkid-dev:ppc64el \
|
||
|
libc6-dev:ppc64el \
|
||
|
libcap-ng-dev:ppc64el \
|
||
|
libcurl4-gnutls-dev:ppc64el \
|
||
|
libdevmapper-dev:ppc64el \
|
||
|
libfuse-dev:ppc64el \
|
||
|
libglib2.0-dev:ppc64el \
|
||
|
libglusterfs-dev:ppc64el \
|
||
|
libgnutls28-dev:ppc64el \
|
||
|
libiscsi-dev:ppc64el \
|
||
|
libnl-3-dev:ppc64el \
|
||
|
libnl-route-3-dev:ppc64el \
|
||
|
libnuma-dev:ppc64el \
|
||
|
libparted-dev:ppc64el \
|
||
|
libpcap0.8-dev:ppc64el \
|
||
|
libpciaccess-dev:ppc64el \
|
||
|
librbd-dev:ppc64el \
|
||
|
libreadline-dev:ppc64el \
|
||
|
libsanlock-dev:ppc64el \
|
||
|
libsasl2-dev:ppc64el \
|
||
|
libselinux1-dev:ppc64el \
|
||
|
libssh-gcrypt-dev:ppc64el \
|
||
|
libssh2-1-dev:ppc64el \
|
||
|
libtirpc-dev:ppc64el \
|
||
|
libudev-dev:ppc64el \
|
||
|
libxml2-dev:ppc64el \
|
||
|
libyajl-dev:ppc64el \
|
||
|
systemtap-sdt-dev:ppc64el && \
|
||
|
eatmydata apt-get autoremove -y && \
|
||
|
eatmydata apt-get autoclean -y && \
|
||
|
mkdir -p /usr/local/share/meson/cross && \
|
||
|
printf "[binaries]\n\
|
||
|
c = '/usr/bin/powerpc64le-linux-gnu-gcc'\n\
|
||
|
ar = '/usr/bin/powerpc64le-linux-gnu-gcc-ar'\n\
|
||
|
strip = '/usr/bin/powerpc64le-linux-gnu-strip'\n\
|
||
|
pkgconfig = '/usr/bin/powerpc64le-linux-gnu-pkg-config'\n\
|
||
|
\n\
|
||
|
[host_machine]\n\
|
||
|
system = 'linux'\n\
|
||
|
cpu_family = 'ppc64'\n\
|
||
|
cpu = 'powerpc64le'\n\
|
||
|
endian = 'little'\n" > /usr/local/share/meson/cross/powerpc64le-linux-gnu && \
|
||
|
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
|
||
|
mkdir -p /usr/libexec/ccache-wrappers && \
|
||
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-cc && \
|
||
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-gcc
|
||
|
|
||
|
ENV ABI "powerpc64le-linux-gnu"
|
||
|
ENV MESON_OPTS "--cross-file=powerpc64le-linux-gnu"
|