Hi, I have a Concourse build task that looks like
#!/bin/bash
source /docker-lib.sh
start_docker
docker load -i image1.tar
docker load -i image2.tar
docker load -i image3.tar
docker-compose up
The problem is that some of the images are quite large and this makes the task slow to run.
I thought that it might be possible to cache /scratch/docker in my build configuration:
caches: [{path: /scratch/docker}]
But it seems that this doesn't have any effect - docker images returns an empty list before I run docker load.
How can I cache the images loaded in previous builds to speed up my build task?
Hi, I have a Concourse build task that looks like
The problem is that some of the images are quite large and this makes the task slow to run.
I thought that it might be possible to cache
/scratch/dockerin my build configuration:But it seems that this doesn't have any effect -
docker imagesreturns an empty list before I rundocker load.How can I cache the images loaded in previous builds to speed up my build task?