Skip to content

optimizing cached dependencies and stored in volume on docker host#40

Open
viktor-yengovatov wants to merge 1 commit into
masterfrom
docker-gradle-volumes
Open

optimizing cached dependencies and stored in volume on docker host#40
viktor-yengovatov wants to merge 1 commit into
masterfrom
docker-gradle-volumes

Conversation

@viktor-yengovatov
Copy link
Copy Markdown

added /opt/wrapper and /opt/caches as volumes in Dockerfile

aforementioned folders in standard gradle config located in ~/.gradle/ (GRADLE_USER_HOME)
this fix allows us to improve performance of gradle builds in Docker reducing redundant downloads.

Please give advice if this approach is acceptable for shared docker-host?
how to reduce making garbage volumes?

@viktor-yengovatov viktor-yengovatov added the question Further information is requested label Jul 26, 2018
Copy link
Copy Markdown
Contributor

@sa1nt sa1nt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd favor #45 instead of this, mainly because #45 is simpler to understand and maintain IMO

Copy link
Copy Markdown
Contributor

@sa1nt sa1nt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove in favor of #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants