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

upgrade docker alpine base to 3.18 #2103

Closed
slingamn opened this issue Dec 3, 2023 · 1 comment · Fixed by #2104
Closed

upgrade docker alpine base to 3.18 #2103

slingamn opened this issue Dec 3, 2023 · 1 comment · Fixed by #2104

Comments

@slingamn
Copy link
Member

slingamn commented Dec 3, 2023

See #2102, #2071, #1726. An incompatibility related to faccessat2(2) and Alpine's musl libc prevented us from upgrading the Alpine base image past 3.13. At this point:

  1. Linux kernel versions that lack faccessat2(2) are still fully supported, e.g. Ubuntu 20.04 ships the 5.4 kernel, whereas 5.8 is the first version with that system call
  2. However, modern Docker versions ship a workaround, e.g. Docker version 24.0.7, build afdd53b works with Alpine 3.18 under the 5.4 kernel

so let's just go ahead and upgrade it in the next Ergo release. We should changelog this as a compatibility break and include a recommended Docker version.

@slingamn
Copy link
Member Author

slingamn commented Dec 3, 2023

Recommended versions here: https://about.gitlab.com/blog/2021/08/26/its-time-to-upgrade-docker-engine/

Docker 20.10.0 or higher should work.

slingamn added a commit that referenced this issue Dec 18, 2023
* bump docker base image to alpine 3.19

Fixes #2103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant