summaryrefslogtreecommitdiffstats
path: root/redhat/docker/mga6/Dockerfile.x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/docker/mga6/Dockerfile.x86_64')
-rw-r--r--redhat/docker/mga6/Dockerfile.x86_643
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/docker/mga6/Dockerfile.x86_64 b/redhat/docker/mga6/Dockerfile.x86_64
index cad0f0319..b76f4a724 100644
--- a/redhat/docker/mga6/Dockerfile.x86_64
+++ b/redhat/docker/mga6/Dockerfile.x86_64
@@ -30,3 +30,6 @@ RUN rm -rf /home/trinity
RUN useradd -m -s /bin/bash -u 1000 trinity
RUN echo "trinity ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
ADD rpmmacros /home/trinity/.rpmmacros
+
+# Enable ccache
+RUN sed -i "/etc/sysconfig/ccache" -e "s|USE_CCACHE_DEFAULT=.*|USE_CCACHE_DEFAULT=\"yes\"|"