diff options
author | François Andriot <albator78@libertysurf.fr> | 2017-11-05 20:32:09 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2017-11-05 20:33:17 +0100 |
commit | 488d11495027a75355bebe4ad16497b336dbf404 (patch) | |
tree | f122244616472cb7cf3e91fa4bb0f280a9dfa93a /redhat/docker/mga6 | |
parent | c5ecee6a5530f4491186afde654785f634880c29 (diff) | |
download | tde-packaging-488d11495027a75355bebe4ad16497b336dbf404.tar.gz tde-packaging-488d11495027a75355bebe4ad16497b336dbf404.zip |
RPM: enable ccache during mageia build
Diffstat (limited to 'redhat/docker/mga6')
-rw-r--r-- | redhat/docker/mga6/Dockerfile.i686 | 3 | ||||
-rw-r--r-- | redhat/docker/mga6/Dockerfile.x86_64 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/redhat/docker/mga6/Dockerfile.i686 b/redhat/docker/mga6/Dockerfile.i686 index ded29bab1..6de263cb6 100644 --- a/redhat/docker/mga6/Dockerfile.i686 +++ b/redhat/docker/mga6/Dockerfile.i686 @@ -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\"|" 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\"|" |