docker: add workflow to test image works
Metadata
Current evaluation
Closed unmerged and superseded by merged PR #5063 (commit 24e70d6db), which removed the in-tree Dockerfile and directed users to canonical/snapcraft-rocks images.
Resolution: closed superseded
Reason: The author redirected work to #5063 with “No more actual, see #5063.” That PR was merged as commit 24e70d6db and replaced the in-tree image with Canonical's official snapcraft-rocks registry.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Add Docker image build and run to CI, because it is broken at the moment, and it is not clear since when.
```sh
root@04c0e0197e05:/workdir# snapcraft
/snap/bin/snapcraft: 3: exec: /snap/snapcraft/current/usr/bin/python3: not found
```
Seems like poured binaries are incompatible with system libs.
```sh
root@04c0e0197e05:/workdir# ldd snapcraft
ldd: ./snapcraft: No such file or directory
root@04c0e0197e05:/workdir# ldd `which snapcraft`
not a dynamic executable
root@04c0e0197e05:/workdir# ldd /snap/snapcraft/current/usr/bin/python3
/snap/snapcraft/current/usr/bin/python3: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /snap/snapcraft/current/usr/bin/python3)
/snap/snapcraft/current/usr/bin/python3: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /snap/snapcraft/current/usr/bin/python3)
/snap/snapcraft/current/usr/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /snap/snapcraft/current/usr/bin/python3)
/snap/snapcraft/current/usr/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /snap/snapcraft/current/usr/bin/python3)
/snap/snapcraft/current/usr/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.26' not found (required by /snap/snapcraft/current/usr/bin/python3)
/snap/snapcraft/current/usr/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /snap/snapcraft/current/usr/bin/python3)
/snap/snapcraft/current/usr/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /snap/snapcraft/current/usr/bin/python3)
/snap/snapcraft/current/usr/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /snap/snapcraft/current/usr/bin/python3)
/snap/snapcraft/current/usr/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /snap/snapcraft/current/usr/bin/python3)
linux-vdso.so.1 => (0x00007f20bc07e000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f20bb400000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f20bb000000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f20bac00000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f20ba800000)
/snap/core22/current/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f20bbe00000)
```
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged and superseded by merged PR #5063 (commit 24e70d6db), which removed the in-tree Dockerfile and directed users to canonical/snapcraft-rocks images. | |
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged and superseded by merged PR #5063, which documented canonical/snapcraft-rocks as the official image source and removed the in-tree Dockerfile. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by PR 5063. The author closed this pull request as the Docker image testing workflow is no longer relevant. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Superseded by PR #5063. The author closed this pull request to add a Docker image CI workflow, noting it was no longer applicable as the changes were incorporated into the referenced follow-up PR. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/snapcraft#5063
(confidence 100%)
Merged replacement that removed the Dockerfile and documented the official external image registry.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2245 docker: support for testing snapcraft in proposed | snapcraft | merged | Merged in #2245 via commit 4a3095548, adding a xenial-proposed Docker image for testing the Snapcraft deb and removing an unnecessary multiverse edit. | |
| #4410 Update official docker image | snapcraft | closed | Superseded by Canonical’s snapcraft-rocks OCI images; the old Dockerfile was replaced and the new registry documented in PR #5063 (24e70d6db). |