2020-12-14 15:24:37 +00:00
|
|
|
# THIS FILE WAS AUTO-GENERATED
|
|
|
|
#
|
2021-09-09 13:49:01 +00:00
|
|
|
# $ lcitool manifest ci/manifest.yml
|
2020-12-14 15:24:37 +00:00
|
|
|
#
|
2021-07-19 12:36:51 +00:00
|
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
2021-04-15 17:07:16 +00:00
|
|
|
|
2020-12-14 15:24:37 +00:00
|
|
|
FROM docker.io/library/debian:10-slim
|
2020-06-02 15:28:57 +00:00
|
|
|
|
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
|
|
|
apt-get update && \
|
2020-12-14 15:24:37 +00:00
|
|
|
apt-get install -y eatmydata && \
|
|
|
|
eatmydata apt-get dist-upgrade -y && \
|
|
|
|
eatmydata apt-get install --no-install-recommends -y \
|
2020-06-02 15:28:57 +00:00
|
|
|
augeas-lenses \
|
|
|
|
augeas-tools \
|
|
|
|
bash-completion \
|
|
|
|
ca-certificates \
|
|
|
|
ccache \
|
2022-01-03 15:48:18 +00:00
|
|
|
codespell \
|
2021-04-15 17:07:16 +00:00
|
|
|
cpp \
|
2020-11-23 18:20:57 +00:00
|
|
|
diffutils \
|
2020-06-02 15:28:57 +00:00
|
|
|
dnsmasq-base \
|
|
|
|
dwarves \
|
|
|
|
ebtables \
|
|
|
|
flake8 \
|
|
|
|
gettext \
|
|
|
|
git \
|
2021-03-23 14:33:33 +00:00
|
|
|
grep \
|
2020-06-02 15:28:57 +00:00
|
|
|
iproute2 \
|
2021-02-11 11:13:48 +00:00
|
|
|
iptables \
|
2020-06-02 15:28:57 +00:00
|
|
|
kmod \
|
|
|
|
libc-dev-bin \
|
|
|
|
libxml2-utils \
|
|
|
|
locales \
|
|
|
|
lvm2 \
|
|
|
|
make \
|
|
|
|
nfs-common \
|
|
|
|
ninja-build \
|
|
|
|
numad \
|
|
|
|
open-iscsi \
|
2021-05-04 08:39:31 +00:00
|
|
|
perl-base \
|
2020-06-02 15:28:57 +00:00
|
|
|
pkgconf \
|
|
|
|
policykit-1 \
|
|
|
|
python3 \
|
|
|
|
python3-docutils \
|
2020-06-25 12:28:25 +00:00
|
|
|
python3-pip \
|
2020-06-02 15:28:57 +00:00
|
|
|
python3-setuptools \
|
|
|
|
python3-wheel \
|
|
|
|
qemu-utils \
|
|
|
|
scrub \
|
2021-03-23 14:33:33 +00:00
|
|
|
sed \
|
2021-07-19 12:36:51 +00:00
|
|
|
xsltproc && \
|
2020-12-14 15:24:37 +00:00
|
|
|
eatmydata apt-get autoremove -y && \
|
|
|
|
eatmydata apt-get autoclean -y && \
|
2020-06-02 15:28:57 +00:00
|
|
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
2021-10-20 10:37:16 +00:00
|
|
|
dpkg-reconfigure locales
|
2020-06-02 15:28:57 +00:00
|
|
|
|
2021-12-22 16:24:43 +00:00
|
|
|
RUN pip3 install \
|
|
|
|
meson==0.56.0
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
2020-06-02 15:28:57 +00:00
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
|
|
|
dpkg --add-architecture ppc64el && \
|
2020-12-14 15:24:37 +00: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 15:28:57 +00:00
|
|
|
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 \
|
2022-01-04 16:01:48 +00:00
|
|
|
systemtap-sdt-dev:ppc64el && \
|
2020-12-14 15:24:37 +00:00
|
|
|
eatmydata apt-get autoremove -y && \
|
|
|
|
eatmydata apt-get autoclean -y && \
|
2020-08-03 06:53:00 +00:00
|
|
|
mkdir -p /usr/local/share/meson/cross && \
|
|
|
|
echo "[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\
|
2021-10-20 10:37:16 +00:00
|
|
|
endian = 'little'" > /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
|
2020-08-03 06:53:00 +00:00
|
|
|
|
2020-06-02 15:28:57 +00:00
|
|
|
ENV ABI "powerpc64le-linux-gnu"
|
2020-08-03 06:53:00 +00:00
|
|
|
ENV MESON_OPTS "--cross-file=powerpc64le-linux-gnu"
|