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

Fix docker deployment for ubuntu 23 EOL. #7396

Closed
wants to merge 3 commits into from

Conversation

rick-github
Copy link
Contributor

@rick-github rick-github commented Nov 28, 2024

Summary

Ubuntu 23 has EOL'd and the docker image fails to build. Updates to Ubuntu 24 LTS and replaces libgl1-mesa-glx which is no longer available. Also fixes a broken continuation in the Dockerfile, does a sanity check of the passwd file, and sets some environment variables so that caching is done in $INVOKEAI_ROOT.

Related Issues / Discussions

Closes: #7387

QA Instructions

Merge Plan

Checklist

  • [ x] The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@ebr
Copy link
Member

ebr commented Nov 28, 2024

Thanks for the contribution @rick-github . I think the best path forward would be to upgrade to ubuntu 24.04. We should be able to get this sorted in the next couple of days.
EDIT: mind if i contribute to your PR instead of starting a new one?

@rick-github
Copy link
Contributor Author

Sure, feel free to add/modify.

@github-actions github-actions bot added Root python-deps PRs that change python dependencies labels Nov 28, 2024
@rick-github
Copy link
Contributor Author

Updated to Ubuntu 24, moved python requirement to 3.13.

@ebr
Copy link
Member

ebr commented Nov 29, 2024

@rick-github This grew into a bit of a bigger change, and I didn't want to push directly to main of your fork. So I opened another PR: #7401. Your commits are included unchanged, so you're still getting the attribution. Would appreciate you testing it out!
Thanks again for getting this started, it's been long overdue.

@ebr
Copy link
Member

ebr commented Nov 29, 2024

I'm gong to close this PR as it's superceded by #7401. Let's continue there.

@ebr ebr closed this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker python-deps PRs that change python dependencies Root
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: "The repository ... (ubuntu) no longer has a Release file" when running a Docker container on Runopod
2 participants