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

Containerization #24

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Containerization #24

wants to merge 11 commits into from

Conversation

AzinPiran
Copy link
Collaborator

Updates on the Containerization Branch

Hi everyone,

I’ve created a new branch called containerization and made some key updates compared to our previous main branch. Please take a look:

  1. Removed the conda-lock.yml file:
    I had to remove this file because when it exists in the working directory, the conda-lock tool generates .lock files for multiple operating systems, not just for linux-64.

  2. Added mamba to the dependencies in dsci522_environment.yml:
    Without explicitly adding mamba as a dependency, creating a container from the Dockerfile results in an error. It seems that the conda-linux-64.lock file inadvertently removes mamba from the minimal Jupyter image.

  3. Tested the Dockerfile:
    I built an image from the Dockerfile using the following command:

    docker build --tag practtest --platform=linux/amd64 .

Copy link
Collaborator

@cs-uche cs-uche Nov 27, 2024

Choose a reason for hiding this comment

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

Please update this with the version for each dependency- this improves the consistency of the computational environment.

Copy link
Collaborator

Choose a reason for hiding this comment

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

update the python version to 3.11 to resolve the error below(error generated from building the container locally)
image

Copy link
Collaborator

Choose a reason for hiding this comment

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

compare the notebook and environment file and remove unused dependencies like category_encoders

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, I will do it.

@AzinPiran
Copy link
Collaborator Author

I've pinned all of the packages' version and tested our notebook, it is working. and also I created the image successfully from our Dockerfile. please find the attached picture.
Screenshot 2024-11-27 035419

@AzinPiran
Copy link
Collaborator Author

image

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