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

[IA-4534] Leaner terra base docker image #463

Closed
wants to merge 8 commits into from

Conversation

LizBaldo
Copy link
Collaborator

@LizBaldo LizBaldo commented Oct 11, 2023

JIRA Ticket: https://broadworkbench.atlassian.net/browse/IA-4534

More details can be found in the design doc here: https://broadworkbench.atlassian.net/wiki/spaces/IA/pages/2842460165/2023-08-28+Terra+Docker+Refactoring+POC#Provide-a-leaner-set-of-terra-docker-images

The main changes are:

  • Use a much smaller base cuda enabled ubuntu image (80mb vs. 8Gb for the gpu tensorflow one we are currently using)
  • Use poetry to manage the python environment and it's dependencies

The goal is to make the base image small enough that it can be used by both custom image users AND provide deterministic python environments so developers don't end up in pip dependency hell every time we try to update the image

Note that I copied over the custom jupyter setup script, so for reviewing you should focus on the following files:

  • README.md
  • pyproject.toml
  • Dockerfile

Given that this is a POC, building and publishing the image with GHA is outside of the scope of this PR and I will do it manually for now

@LizBaldo LizBaldo changed the title [IA-4484] Leaner terra base docker image [IA-4534] Leaner terra base docker image Nov 6, 2023
@LizBaldo
Copy link
Collaborator Author

Closing this in favor of #483

@LizBaldo LizBaldo closed this Apr 11, 2024
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