coder / code-server

VS Code in the browser
https://coder.com
MIT License
66.63k stars 5.46k forks source link

update ubuntu base image to jammy #6709

Open WisniewskiP opened 4 months ago

WisniewskiP commented 4 months ago

What is your suggestion?

update ubuntu to jammy 22.04 or add it as second image

Why do you want this feature?

it contains new version for many packages eg. cmake, python

Are there any workarounds to get this functionality today?

using debian based image could be possible but requires modification of some scripts that we are using. or back-porting needed packages.

Are you interested in submitting a PR for this?

I could make PR for this (change docker-bake.hcl) but I don't know what impact it could have on the image. I don't know what dependencies could fail in new ubuntu and what should be tested and how to test it.

code-asher commented 4 months ago

The only way to test at the moment is to build it locally then make sure it runs, although this can be a pain. If you want, you can add a new block for Jammy and we can just run the release script to push it to Dockerhub and try it out that way. If everything seems fine, we can eventually switch the default ubuntu tag to point to Jammy (looks like Focal's EOL is April 2025 so at the very least we should switch by then).