sunfmin / notebook

My Note Book
2 stars 0 forks source link

Error processing tar file(exit status 1): write /.semaphore-cache/docker-images/d7f96c64f958.tar: no space left on device #39

Open sunfmin opened 6 years ago

sunfmin commented 6 years ago
Error processing tar file(exit status 1): write /.semaphore-cache/docker-images/d7f96c64f958.tar: no space left on device

This is due to Semaphore CI will create a folder ./.semaphore-cache inside your project root. If you build docker file use ADD . ., It will add all the cache in that folder into your docker image, Next time you use docker-cache snapshot it will store to that file, So it become bigger and bigger.

Solution: add .dockerignore file inside your project

.semaphore-cache
**/node_modules