]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Add Ubuntu 22.04 Dockerfile
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 29 May 2022 07:19:53 +0000 (09:19 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 6 Jun 2022 19:37:26 +0000 (21:37 +0200)
dockerfiles/ubuntu-22.04/Dockerfile [new file with mode: 0644]
misc/test-all-systems

diff --git a/dockerfiles/ubuntu-22.04/Dockerfile b/dockerfiles/ubuntu-22.04/Dockerfile
new file mode 100644 (file)
index 0000000..1c6d561
--- /dev/null
@@ -0,0 +1,26 @@
+FROM ubuntu:22.04
+
+# Non-interactive: do not set up timezone settings.
+RUN apt-get update \
+ && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
+        asciidoctor \
+        bash \
+        build-essential \
+        ccache \
+        clang \
+        cmake \
+        docbook-xml \
+        docbook-xsl \
+        elfutils \
+        gcc-multilib \
+        gcc-12 \
+        g++-12 \
+        libhiredis-dev \
+        libzstd-dev \
+        python3 \
+        redis-server \
+        redis-tools \
+ && rm -rf /var/lib/apt/lists/*
+
+# Redirect all compilers to ccache.
+RUN for t in gcc g++ cc c++ clang clang++; do ln -vs /usr/bin/ccache /usr/local/bin/$t; done
index e55123460dc1a8658e6a47016c650d7336dd7744..0635e8538e1ef9a38028d0d22a9f0f7f76e04212 100755 (executable)
@@ -29,6 +29,12 @@ build ubuntu-18.04 clang clang++ clang
 build ubuntu-20.04 gcc   g++     gcc
 build ubuntu-20.04 clang clang++ clang
 
+build ubuntu-22.04 gcc   g++     gcc
+build ubuntu-22.04 clang clang++ clang
+
+build ubuntu-22.04 gcc-12 g++-12  gcc
+build ubuntu-22.04 clang  clang++ clang
+
 build centos-7     gcc   g++     gcc     -DHIREDIS_FROM_INTERNET=ON
 build centos-7     gcc   g++     clang   -DHIREDIS_FROM_INTERNET=ON