[
https://issues.apache.org/jira/browse/YETUS-923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Dimiduk updated YETUS-923:
-------------------------------
Description: Running builds in docker using Docker Desktop on a Mac is
incredibly slow. Using HBase as a testing tool, {{mvn clean install
-DskipTests}} run "natively" takes about ~2 minutes while the same command run
within the Docker Desktop container environment takes ~45 minutes. Apparently
this is to be expected, but can be improved by specifying a [volume mount
option|https://docs.docker.com/docker-for-mac/osxfs-caching/]. Right now
there's no way to expose such an option to the user. Ideally pre-commit could
even detect the environment and apply the necessary options accordingly. (was:
Running builds in docker using Docker Desktop on a Mac is incredibly slow.
Using HBase as a testing tools, a {{man clean install -DskipTests}} run
"natively" takes about ~2 minutes while the same command run within the Docker
Desktop container environment takes ~45 minutes. Apparently this is to be
expected, but can be improved by specifying a [volume mount
option|https://docs.docker.com/docker-for-mac/osxfs-caching/]. Right now
there's no way to expose such an option to the user. Ideally pre-commit could
even detect the environment and apply the necessary options accordingly.)
> Expose volume mount options for users of Docker Desktop
> -------------------------------------------------------
>
> Key: YETUS-923
> URL: https://issues.apache.org/jira/browse/YETUS-923
> Project: Yetus
> Issue Type: Improvement
> Components: Precommit
> Reporter: Nick Dimiduk
> Priority: Major
> Attachments: YETUS-923.demo.patch
>
>
> Running builds in docker using Docker Desktop on a Mac is incredibly slow.
> Using HBase as a testing tool, {{mvn clean install -DskipTests}} run
> "natively" takes about ~2 minutes while the same command run within the
> Docker Desktop container environment takes ~45 minutes. Apparently this is to
> be expected, but can be improved by specifying a [volume mount
> option|https://docs.docker.com/docker-for-mac/osxfs-caching/]. Right now
> there's no way to expose such an option to the user. Ideally pre-commit could
> even detect the environment and apply the necessary options accordingly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)