summaryrefslogtreecommitdiffstats
path: root/redhat/docker/mga5
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2017-11-05 20:32:09 +0100
committerFrançois Andriot <[email protected]>2017-11-05 20:33:17 +0100
commit488d11495027a75355bebe4ad16497b336dbf404 (patch)
treef122244616472cb7cf3e91fa4bb0f280a9dfa93a /redhat/docker/mga5
parentc5ecee6a5530f4491186afde654785f634880c29 (diff)
downloadtde-packaging-488d11495027a75355bebe4ad16497b336dbf404.tar.gz
tde-packaging-488d11495027a75355bebe4ad16497b336dbf404.zip
RPM: enable ccache during mageia build
Diffstat (limited to 'redhat/docker/mga5')
-rw-r--r--redhat/docker/mga5/Dockerfile.x86_643
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/docker/mga5/Dockerfile.x86_64 b/redhat/docker/mga5/Dockerfile.x86_64
index 9c4000514..693b30b4f 100644
--- a/redhat/docker/mga5/Dockerfile.x86_64
+++ b/redhat/docker/mga5/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\"|"