summaryrefslogtreecommitdiff
path: root/ci/containers/ci-debian-10.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ci/containers/ci-debian-10.Dockerfile')
-rw-r--r--ci/containers/ci-debian-10.Dockerfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/ci/containers/ci-debian-10.Dockerfile b/ci/containers/ci-debian-10.Dockerfile
new file mode 100644
index 0000000..4ad857d
--- /dev/null
+++ b/ci/containers/ci-debian-10.Dockerfile
@@ -0,0 +1,29 @@
+FROM docker.io/library/debian:10
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y \
+ ca-certificates \
+ ccache \
+ gcc \
+ git \
+ libvirt-dev \
+ locales \
+ pkgconf \
+ python3 \
+ python3-dev \
+ python3-lxml \
+ python3-nose \
+ python3-setuptools && \
+ apt-get autoremove -y && \
+ apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ 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 PYTHON "/usr/bin/python3"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"