Navigation Menu

Skip to content


create CCACHE dir
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 6, 2019
1 parent 68ee39a commit bda4620
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/travis/docker_image/
Expand Up @@ -35,7 +35,7 @@ docker push "qgis/qgis:${DOCKER_TAG}"
echo "Copy build cache from Docker container to Travis cache directory"
rm -rf "${CCACHE_DIR:?}/"*
docker run --name qgis_container qgis/qgis:${DOCKER_TAG} /bin/true
docker cp qgis_container:/usr/src/QGIS/.ccache_image_build ${CCACHE_DIR}
docker cp qgis_container:/usr/src/.ccache_image_build ${CCACHE_DIR}
docker rm qgis_container
echo "Trigger build of PyQGIS Documentation"
Expand Down
3 changes: 2 additions & 1 deletion .docker/qgis.dockerfile
Expand Up @@ -17,7 +17,8 @@ ENV LANG=C.UTF-8
COPY . /usr/src/QGIS

# If this directory is changed, also adapt which copies the directory
ENV CCACHE_DIR=/usr/src/QGIS/.ccache_image_build
RUN mkdir -p /usr/src/.ccache_image_build
ENV CCACHE_DIR=/usr/src/.ccache_image_build
RUN ccache -M 1G
RUN ccache -s

Expand Down

0 comments on commit bda4620

Please sign in to comment.