-
Notifications
You must be signed in to change notification settings - Fork 5.9k
added ubuntu noble as base image #6812
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
Conversation
a847e60
to
2bfdea0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I will run CI after this merges to publish the new image.
I have not tried them, but looks like they were pushed successfully. https://hub.docker.com/r/codercom/code-server/tags?page=&page_size=&ordering=&name=noble |
@code-asher I just tried this image it starts but there are somethings that are different. in the base ubuntu image there is ubuntu user with ID 1000:
unfortunately you are assuming that user when server starts it uses ubuntu user instead of coder:
additionally sudo expects password because of wrong user. to fix it it would be possible to user user name instead of id in Dockerfile. I can make PR for this if you agree with this fix. |
The comment seems to imply we need to use the ID to support If that does not work, maybe we will have to do something in the entrypoint, like check if |
I have looked at this and for me it works when I replace securityContext:
enabled: true
fsGroup: 1000
runAsUser: 1000 this change could break some of your CI scripts and probably other scripts that are expecting user with id 1000. |
Yeah I am not sure, I have not actually used or tested the Helm chart myself. |
Adds new ubuntu release as base image #6709