summaryrefslogtreecommitdiff
path: root/dockerfiles
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2020-11-04 21:40:18 +0100
committerJoel Rosdahl <joel@rosdahl.net>2020-11-04 21:40:30 +0100
commit4749c76a77f9df34942da6a4c6307c81b4a11c21 (patch)
tree2abcfbb2b504be00f6bfd14fbb4c68db0eeefb97 /dockerfiles
parent25a564f3ec5cfbdc375821d1319244ff86574abe (diff)
downloadccache-4749c76a77f9df34942da6a4c6307c81b4a11c21.tar.gz
Add Ubuntu 18.04 Dockerfile
Diffstat (limited to 'dockerfiles')
-rw-r--r--dockerfiles/ubuntu-18.04/Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/dockerfiles/ubuntu-18.04/Dockerfile b/dockerfiles/ubuntu-18.04/Dockerfile
new file mode 100644
index 00000000..4ab985b5
--- /dev/null
+++ b/dockerfiles/ubuntu-18.04/Dockerfile
@@ -0,0 +1,20 @@
+FROM ubuntu:18.04
+
+RUN apt-get update \
+ && apt-get install -y --no-install-recommends \
+ asciidoc \
+ bash \
+ build-essential \
+ ccache \
+ clang \
+ cmake \
+ docbook-xml \
+ docbook-xsl \
+ elfutils \
+ gcc-multilib \
+ libzstd-dev \
+ xsltproc \
+ && 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