aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-10-10 12:48:05 +0200
committerosmith <osmith@sysmocom.de>2023-10-12 14:26:37 +0000
commit114c1c6933c3460f230d21a74f2010b54e29abe8 (patch)
tree005d9575b69b0e431c87e43efa40ba65c4a3b0f5
parentf9596689c3386fe12bda998ce36df771c578ddd3 (diff)
debian-bookworm-titan: add ccache
Add ccache, so it can be used when rebuilding the testsuite from source from a development branch. Ccache is not used by default. Related: osmo-dev I800062d0379295a6905851db29e820ff16217653 Change-Id: I94d22b8da9f897974c5913b2a8138c653c215446
-rw-r--r--debian-bookworm-titan/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian-bookworm-titan/Dockerfile b/debian-bookworm-titan/Dockerfile
index 99a79c8..fcc00ba 100644
--- a/debian-bookworm-titan/Dockerfile
+++ b/debian-bookworm-titan/Dockerfile
@@ -19,6 +19,7 @@ RUN set -x && \
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
+ ccache \
git \
iputils-ping \
netcat-openbsd \
@@ -31,6 +32,10 @@ RUN set -x && \
&& \
apt-get clean
+# Ccache is installed above so it can be optionally used when rebuilding the
+# testsuites inside the docker containers. Don't use it by default.
+ENV USE_CCACHE=0
+
# Binary-only transcoding library for RANAP/RUA/HNBAP to work around TITAN only implementing BER
RUN set -x && \
export DPKG_ARCH="$(dpkg --print-architecture)" && \