2020-12-15 10:42:38 +00:00
# THIS FILE WAS AUTO-GENERATED
#
# $ lcitool dockerfile debian-10 libvirt+dist,libvirt-glib+dist,gtk-vnc+dist,virt-viewer
#
2021-01-13 12:16:03 +00:00
# https://gitlab.com/libvirt/libvirt-ci/-/commit/860993e19c005848fde8087941acdbd7ffdcf295
2020-12-15 10:42:38 +00:00
FROM docker.io/library/debian:10-slim
2020-04-23 13:31:48 +01:00
RUN export DEBIAN_FRONTEND = noninteractive && \
apt-get update && \
2020-12-15 10:42:38 +00:00
apt-get install -y eatmydata && \
eatmydata apt-get dist-upgrade -y && \
eatmydata apt-get install --no-install-recommends -y \
2020-04-23 13:31:48 +01:00
autoconf \
automake \
autopoint \
bash-completion \
ca-certificates \
ccache \
gcc \
git \
2020-06-19 12:56:03 +01:00
icoutils \
2020-04-23 13:31:48 +01:00
libglib2.0-dev \
libgovirt-dev \
libgtk-3-dev \
2020-06-19 12:56:03 +01:00
libgtk-vnc-2.0-dev \
librest-dev \
2020-04-23 13:31:48 +01:00
libspice-client-gtk-3.0-dev \
libtool \
libtool-bin \
2020-06-19 12:56:03 +01:00
libvirt-dev \
libvirt-glib-1.0-dev \
2021-01-13 12:16:03 +00:00
libvte-2.91-dev \
2020-04-23 13:31:48 +01:00
libxml2-dev \
libxml2-utils \
locales \
make \
2020-11-23 18:20:57 +00:00
pkgconf && \
2020-12-15 10:42:38 +00:00
eatmydata apt-get autoremove -y && \
eatmydata apt-get autoclean -y && \
2020-04-23 13:31:48 +01:00
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
dpkg-reconfigure locales && \
2020-12-15 10:42:38 +00:00
dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
2020-04-23 13:31:48 +01:00
mkdir -p /usr/libexec/ccache-wrappers && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$( basename /usr/bin/gcc)
ENV LANG "en_US.UTF-8"
ENV MAKE "/usr/bin/make"
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"