Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerfile: build wheel in container #289

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

dtrifiro
Copy link
Contributor

@dtrifiro dtrifiro commented Dec 1, 2023

Dockerfile was consuming a previously built wheel because setuptools_scm requires access to the git repository. By mounting the .git directory at the build step, we can build in the container.

Dockerfile was consuming a previously built wheel because
setuptools_scm requires access to the git repository.
By mounting the `.git` directory at the build step, we can
build the wheel in the container.

Signed-off-by: Daniele Trifirò <[email protected]>
@dtrifiro dtrifiro changed the title dockerfile: build wheel in dockerfile dockerfile: build wheel in container Dec 1, 2023
Copy link
Collaborator

@gkumbhat gkumbhat left a comment

Choose a reason for hiding this comment

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

LGTM

@gkumbhat gkumbhat merged commit 5b3f3f7 into caikit:main Dec 1, 2023
5 checks passed
@dtrifiro dtrifiro deleted the improve-dockerfile branch December 1, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants