ci: Rebuild CI files
[nbdkit.git] / ci / containers / ubuntu-2004.Dockerfile
blob9e45671174db6cfe4b906eeac98d11006577f2eb
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 && \
10     apt-get update && \
11     apt-get install -y eatmydata && \
12     eatmydata apt-get dist-upgrade -y && \
13     eatmydata apt-get install --no-install-recommends -y \
14                       autoconf \
15                       automake \
16                       bash \
17                       bash-completion \
18                       bsdmainutils \
19                       ca-certificates \
20                       cargo \
21                       ccache \
22                       clang \
23                       e2fsprogs \
24                       expect \
25                       fdisk \
26                       flake8 \
27                       g++ \
28                       gcc \
29                       genisoimage \
30                       git \
31                       golang \
32                       gzip \
33                       iproute2 \
34                       jq \
35                       libcurl4-gnutls-dev \
36                       libgnutls28-dev \
37                       libguestfs-dev \
38                       liblzma-dev \
39                       libperl-dev \
40                       libselinux1-dev \
41                       libssh-dev \
42                       libtool-bin \
43                       libtorrent-dev \
44                       libvirt-dev \
45                       libzstd-dev \
46                       locales \
47                       lua5.3 \
48                       make \
49                       mount \
50                       ocaml \
51                       perl \
52                       perl-base \
53                       pkgconf \
54                       python3 \
55                       python3-boto3 \
56                       python3-dev \
57                       qemu-utils \
58                       rust-clippy \
59                       rustc \
60                       socat \
61                       tcl-dev \
62                       xz-utils \
63                       zlib1g-dev && \
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"