summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/scripts/lib_apt.sh3
-rw-r--r--docker/scripts/lib_dnf.sh3
-rw-r--r--docker/scripts/lib_yum.sh3
3 files changed, 3 insertions, 6 deletions
diff --git a/docker/scripts/lib_apt.sh b/docker/scripts/lib_apt.sh
index 8994a7829..af9da0b63 100644
--- a/docker/scripts/lib_apt.sh
+++ b/docker/scripts/lib_apt.sh
@@ -249,8 +249,7 @@ COPY files/sshconfig /root/.ssh/config
WORKDIR /
$vpp_install_skip_sysctl_envvar
ENV VPP_ZOMBIE_NOCHECK="1"
-# TODO: Mount ccache volume into docker container, then remove this.
-ENV CCACHE_DISABLE="1"
+ENV CCACHE_DIR="/scratch/ccache"
EOF
generate_apt_dockerfile_clean
}
diff --git a/docker/scripts/lib_dnf.sh b/docker/scripts/lib_dnf.sh
index c5bb5c4a2..34bc40c7f 100644
--- a/docker/scripts/lib_dnf.sh
+++ b/docker/scripts/lib_dnf.sh
@@ -166,8 +166,7 @@ RUN gem install package_cloud \\
# CI Runtime Environment
WORKDIR /
ENV VPP_ZOMBIE_NOCHECK="1"
-# TODO: Mount ccache volume into docker container, then remove this.
-ENV CCACHE_DISABLE="1"
+ENV CCACHE_DIR="/scratch/ccache"
EOF
generate_dnf_dockerfile_clean
}
diff --git a/docker/scripts/lib_yum.sh b/docker/scripts/lib_yum.sh
index b24b2299a..4e165e6e0 100644
--- a/docker/scripts/lib_yum.sh
+++ b/docker/scripts/lib_yum.sh
@@ -169,8 +169,7 @@ RUN gem install package_cloud \\
# CI Runtime Environment
WORKDIR /
ENV VPP_ZOMBIE_NOCHECK="1"
-# TODO: Mount ccache volume into docker container, then remove this.
-ENV CCACHE_DISABLE="1"
+ENV CCACHE_DIR="/scratch/ccache"
EOF
generate_yum_dockerfile_clean
}