← Back to issue list

Add core20 to various /Dockerfile/s

View original Github issue

Metadata

Project
snapcraft
Number
#3384
Type
pull request
State
closed
Author
martijnbastiaan
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Superseded by PR #2673. Maintainers closed the PR because updating the base requires CI changes and publishing to a new Docker tag rather than modifying existing images.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.