Accelerate build of application in Docker container via CircleCI
I have an application which is built in a Docker container. The build of the Docker container is done via CircleCI.
I am wondering:
- is there a solution to cache the dependencies of the application in
- is there a working solution to cache Docker images in CircleCI? https://circleci.com/docs/docker/#caching-docker-layers
seems as not a very clean solution
As a temporary solution, I am using a “base image” where software dependencies for my application are stored (Java, Maven, etc.). I am not sure, that it is good to put all the Maven dependencies to my “base image” because dependencies are changing.