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

Update docker image to use mamba based image + use conda packages as … #107

Merged
merged 3 commits into from
Feb 1, 2024

Conversation

leavauchier
Copy link
Collaborator

@leavauchier leavauchier commented Jan 11, 2024

…much as possible

This should resolve docker image build issues (image not building anymore from scratch), mainly by using a prebuilt image with micromamba and cuda installed.

Add .dockerignore to ignore cached files during docker image building

Perfs:

  • takes around 10min to build from scratch
  • the image is a bit heavy: 11.3GB

@leavauchier leavauchier marked this pull request as ready for review January 11, 2024 15:55
Copy link
Collaborator

@CharlesGaydon CharlesGaydon left a comment

Choose a reason for hiding this comment

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

@leavauchier Nice that if finally build. However the install does not look like it would work with cuda in its current state. Could you update and test? :)

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
environment.yml Outdated Show resolved Hide resolved
@leavauchier
Copy link
Collaborator Author

@leavauchier Nice that if finally build. However the install does not look like it would work with cuda in its current state. Could you update and test? :)

I updated and tested on my local machine, but if we want to have automatic testing, it would require that the ci machine has cuda installed too

CharlesGaydon
CharlesGaydon previously approved these changes Jan 18, 2024
Copy link
Collaborator

@CharlesGaydon CharlesGaydon left a comment

Choose a reason for hiding this comment

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

LGTM :)

@leavauchier
Copy link
Collaborator Author

LGTM :)

Then I'll merge as soon as the CI works :)

@leavauchier leavauchier force-pushed the fix-docker-image branch 3 times, most recently from aaf0787 to 065a57a Compare January 30, 2024 17:51
@CharlesGaydon
Copy link
Collaborator

LGTM!

@CharlesGaydon CharlesGaydon self-requested a review February 1, 2024 08:48
@CharlesGaydon CharlesGaydon merged commit bbf6c96 into main Feb 1, 2024
1 check passed
@CharlesGaydon CharlesGaydon deleted the fix-docker-image branch February 1, 2024 08:58
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.

2 participants