You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you add a file using addFile() the plugin always copies this file across during the preparation of the staging area. However on an incremental gradle build the file might not have changed, but you will get a new file created with a newer date/time. Therefore during the build docker creates a new layer for this step.
Once this happens all layers after this added file will also not use the cache. The causes some very slow builds and is real pain, especially given the extent to which I'm using docker.
Is it possible to not copy the file across to the staging area if it hasn't changed?
This would massively improve build times.
Note:- I'm using the native docker client not the REST api.
The text was updated successfully, but these errors were encountered:
When you add a file using addFile() the plugin always copies this file across during the preparation of the staging area. However on an incremental gradle build the file might not have changed, but you will get a new file created with a newer date/time. Therefore during the build docker creates a new layer for this step.
Once this happens all layers after this added file will also not use the cache. The causes some very slow builds and is real pain, especially given the extent to which I'm using docker.
Is it possible to not copy the file across to the staging area if it hasn't changed?
This would massively improve build times.
Note:- I'm using the native docker client not the REST api.
The text was updated successfully, but these errors were encountered: