On Codeship PRO. I have a docker image for my code that is reliant on a base image:
- type: serial
- command: npm i
- type: push
Note, that I have
cached: true in place. What's odd to me is that the caching seems flawed. My image hasn't changed in the past 5 builds but every time, Codeship seems to take 5-10 minutes with this:
2017-03-12T18:36:01.616Zbuild/import started for cavo
2017-03-12T18:37:01.616Zcache: Still importing image for cavo...
2017-03-12T18:38:01.616Zcache: Still importing image for cavo...
2017-03-12T18:39:01.616Zcache: Still importing image for cavo...
2017-03-12T18:40:01.616Zcache: Still importing image for cavo...
2017-03-12T18:41:01.616Zcache: Still importing image for cavo...
2017-03-12T18:41:52.080Zbuild/import finished for cavo
My image is 643MB, FYI.
I guess I just don't see the point of the cache if it's going to take that long to import the image. Is this literally how long it's taking to copy the cached image from your S3 bucket to my dedicated instance? My actual build time is awesome at just a little over 2 minutes. Any help you can offer would be appreciated.