-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Upgrade to Ubuntu 20.04 or newer base image #163
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
IIRC The problem is ABI compatibility with different glibcs in particular Centos 7 / RHEL7 |
FWIW, Ubuntu 18.04 will reach EOL in April. After that, only the paid version will get security updates. |
Yeah, that's exactly the case. Last OS bump (from 16 to 18) caused gitea (and other projects that use XGO too) to fail on supported versions of CentOS/RHEL, and now that there is Rocky & Alma too that need to be worried about. I'm not sure the best way forward, I'd of course like to bump to at least ubuntu20.04, but am worried about RHEL derivative support, and I don't know that the paid support version of 18.04 license would allow me to distribute it in such a way that xgo is currently. I suspect the most likely way forward is for me to build a local build with the bumped OS and then test on various OSes. |
I wonder if there is a way we could actually build against musl instead of glibc thus avoiding the ABI issue? |
FWIW, Ubuntu 18.04 has now reached EOL. |
@silverwind I think we can do the upgrade now. I suspect there has been some movement away from CentOS 7 due to the change to stream. |
From what I know, most people have now migrated to Rocky or Alma. Officially CentOS 7 has still 1 year to go until EOL, but I don't see this so strict. |
Looking at https://en.wikipedia.org/wiki/Rocky_Linux and https://endoflife.date/rocky-linux Rocky 8 is supported until 2029 (at least for security support) and uses 4.x kernel. I'll need to do some testing to ensure that Gitea binaries still work on it before merging the change. |
They are all binary-compatible to RHEL8, so if it works on one, it will work on all. |
* Bump to Ubuntu 20.04 Fix #163
Now that techknowlogick/xgo#163 is resolved, we can bump these. It seems there is no way to dry-run this, so we may only notice issues next release, but I don't expect any.
xgo uses Ubuntu 18.04 which is incompatible with things like Node.js 18, a upgrade to Ubuntu 20.04 or 22.04 would be appreciated.
The text was updated successfully, but these errors were encountered: