summaryrefslogtreecommitdiff
path: root/.gitlab-ci/Dockerfile
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-09-04 15:26:47 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-09-04 20:27:27 +0200
commitefc0e85c02071a88a2ef5d1d0caace166790d645 (patch)
tree6b85dffebe398e51321a518657136ac211ca6fc5 /.gitlab-ci/Dockerfile
parent02e12371964ed10c2c84ebb49760bc11b34913e1 (diff)
downloadlibxml2-efc0e85c02071a88a2ef5d1d0caace166790d645.tar.gz
Move Dockerfile to .gitlab-ci directory
Diffstat (limited to '.gitlab-ci/Dockerfile')
-rw-r--r--.gitlab-ci/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
new file mode 100644
index 00000000..102657bd
--- /dev/null
+++ b/.gitlab-ci/Dockerfile
@@ -0,0 +1,16 @@
+# The image is also used for libxslt, that's why we need git and
+# libgcrypt-dev.
+
+FROM ubuntu:22.04
+ENV DEBIAN_FRONTEND=noninteractive
+RUN apt-get update && \
+ apt-get upgrade -y && \
+ apt-get install -y --no-install-recommends \
+ curl git ca-certificates \
+ autoconf automake libtool pkg-config \
+ make gcc clang llvm \
+ zlib1g-dev liblzma-dev libgcrypt-dev \
+ python2-dev python3-dev \
+ cmake
+WORKDIR /tests
+RUN curl https://www.w3.org/XML/Test/xmlts20080827.tar.gz |tar xz