Category: Data, Docker

This is a guest post from Viktor Petersson, CEO of Screenly.io. In the previous blog post, we talked about how we compile Qt for Screenly OSE using Docker’s nifty multi-stage and multi-platform features. In this article, we build on this topic further and zoom in on caching.

An example of this could looks like this: This process above is neat, but it does mean that someone will need to periodically upload the build cache in order to keep cache files fresh.

However, in this case, we want to alter this step so that the cache lives outside of /src, as this is used for volume mounting the code base, such as /usr/ccache.

Related Articles