Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

versioneer and docker #616

Open
codl opened this issue Aug 5, 2022 · 0 comments
Open

versioneer and docker #616

codl opened this issue Aug 5, 2022 · 0 comments

Comments

@codl
Copy link
Owner

codl commented Aug 5, 2022

this 3c372a2 is gross

apparently versioneer replaces version.py with a static version when a source distribution is generated, so maybe the way to go is to

  • make building an sdist possible (is it already possible?)
  • generate that sdist in a docker stage and install it in another

which would still mean sending .git to docker which is still gross, but at least it doesn't end up in the final image or any of its ancestors

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant