1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool manifest ci/manifest.yml
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM docker.io/library/ubuntu:20.04
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 \
64 eatmydata apt-get autoremove -y && \
65 eatmydata apt-get autoclean -y && \
66 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
67 dpkg-reconfigure locales && \
68 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
69 mkdir -p /usr/libexec/ccache-wrappers && \
70 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
71 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
72 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
73 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
74 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
76 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
77 ENV LANG "en_US.UTF-8"
78 ENV MAKE "/usr/bin/make"
79 ENV PYTHON "/usr/bin/python3"