Add core20 to various /Dockerfile/s
Metadata
Current evaluation
Closed unmerged in favor of #2673; the broader Docker OS/risk parameterization (commit b982555e1) replaced the proposed core20-specific changes, with CI and separate image-tag publication still required.
Resolution: closed superseded
Reason: The maintainer closed the proposal without merging and directed contributors to #2673, citing required CI changes and separate publication tags. PR #2673 was later merged as commit b982555e1, parameterizing Docker image OS and risk instead.
Evaluated by: mr-cal-bot
No scores available.
Issue body
With the docker additions, snapcraft can be used with `base: core20`. For googlability, this PR prevents errors such as:
```
Cannot find the linker to use for the target base 'core20'.
Please verify that the linker exists at the expected path '/snap/core20/current/lib64/ld-linux-x86-64.so.2' and try again. If the linker does not exist contact the author of the base (run `snap info core20` to get information for this base).
```
-----------
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
I don't know what to fill in at "Please add the Canonical Project Manager or contact"
- [x] Have you successfully run `./runtests.sh static`?
```
15 files would be reformatted, 655 files would be left unchanged.
```
but I didn't touch those files
- [ ] Have you successfully run `./runtests.sh tests/unit`?
Tried to make a Python env, but `pip install -r requirements.txt` failed with:
```
ERROR: Command errored out with exit status 1:
command: /home/martijn/code/snapcraft/env/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uweji1s9/libnacl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uweji1s9/libnacl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-uweji1s9/libnacl/pip-egg-info
cwd: /tmp/pip-install-uweji1s9/libnacl/
Complete output (20 lines):
Traceback (most recent call last):
File "/tmp/pip-install-uweji1s9/libnacl/libnacl/__init__.py", line 62, in _get_nacl
return ctypes.cdll.LoadLibrary('tweetnacl.so')
File "/usr/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: tweetnacl.so: cannot open shared object file: No such file or directory
```
I believe the tests aren't really relevant to this change though.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged in favor of #2673; the broader Docker OS/risk parameterization (commit b982555e1) replaced the proposed core20-specific changes, with CI and separate image-tag publication still required. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged in favor of #2673, which merged Docker image OS/base parameterization in commit b982555e1; supporting core20 required separate CI and publication changes. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged in favor of #2673, merged as b982555e1, because changing existing Xenial Docker images also required CI and image-tag updates. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged in favor of snapcraft#2673, merged as b982555e1 to parameterize Docker image OS/risk instead of adding core20 to Xenial-only files. | |
| stealth/space-bunny-alpha | — | closed superseded | Core20 support for the Xenial Snapcraft Docker images was not merged; broader parameterized image-build work landed in #2673 as commit b982555e1. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed without merging in favor of #2673; existing Xenial images could not support core20 without a separate focal image, CI changes, and new publication tags. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by PR #2673. Maintainers declined adding core20 to existing Dockerfiles due to base compatibility issues, requiring a new focal-based image with separate CI changes and publishing instead. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and superseded by PR #2673. Maintainers declined the changes, noting that updating the Docker base requires CI modifications and publishing to a new image tag. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
snapcraft#2673
(confidence 99%)
The closing maintainer explicitly referenced #2673; it merged Docker OS/risk parameterization in commit b982555e1.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2673 docker: parametrize risk and OS for image builds (core18 etc) | snapcraft | merged | Merged as b982555e1, parameterizing Docker image builds by Ubuntu core (such as core18) and risk level for command-line selection without Dockerfile edits. | |
| #5675 Remove core20 lifecycle | snapcraft | closed | Merged PR #6019 via commit fa7952b4d, removing core20 build/lifecycle support and core20 command entries; core20 spread tests were removed separately in PR #6009. | |
| #2854 Core20 | snapcraft | closed | PR #2854 was closed unmerged because core20 enablement was handled by PluginV2; none of the proposed changes were merged. |