Debian Codegraph @

ci/containers/ci-ubuntu-1804.Dockerfile

raw
1 # THIS FILE WAS AUTO-GENERATED
2 #
3 # $ lcitool dockerfile ubuntu-1804 libvirt+dist,libvirt-glib+dist,libvirt-dbus
4 #
5 # https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680
6 FROM docker.io/library/ubuntu:18.04
7
8 RUN export DEBIAN_FRONTEND=noninteractive && \
9 apt-get update && \
10 apt-get install -y eatmydata && \
11 eatmydata apt-get dist-upgrade -y && \
12 eatmydata apt-get install --no-install-recommends -y \
13 ca-certificates \
14 ccache \
15 dbus \
16 flake8 \
17 gcc \
18 git \
19 libglib2.0-dev \
20 libvirt-dev libvirt-daemon \
21 libvirt-glib-1.0-dev \
22 locales \
23 make \
24 ninja-build \
25 pkgconf \
26 python3 \
27 python3-dbus \
28 python3-docutils \
29 python3-gi \
30 python3-pip \
31 python3-pytest \
32 python3-setuptools \
33 python3-wheel && \
34 eatmydata apt-get autoremove -y && \
35 eatmydata apt-get autoclean -y && \
36 sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
37 dpkg-reconfigure locales && \
38 dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
39 mkdir -p /usr/libexec/ccache-wrappers && \
40 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
41 ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
42
43 RUN pip3 install \
44 meson==0.54.0
45
46 ENV LANG "en_US.UTF-8"
47 ENV MAKE "/usr/bin/make"
48 ENV NINJA "/usr/bin/ninja"
49 ENV PYTHON "/usr/bin/python3"
50 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"