lifecycle: detect docker to auto setup core
Metadata
Current evaluation
Merged PR snapcore/snapcraft#1801 (commit 8d32a835d), adding Docker detection to automatically set up core for classic-confinement projects.
Resolution: closed resolved
Reason: PR #1801 was merged as commit 8d32a835d, automatically installing and setting up the core snap when Snapcraft detects a Docker container.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Detect docker container to automatically setup the core snap when working with
classic confinement.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [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] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR snapcore/snapcraft#1801 (commit 8d32a835d), adding Docker detection to automatically set up core for classic-confinement projects. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcore/snapcraft#1801 (commit 8d32a835d): added Docker detection to automatically set up the core snap for classic-confinement projects. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1801, adding Docker detection to automatically set up the core snap for classic-confinement builds. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after passing CI and reviewer approval. Adds Docker container detection to automatically set up the core snap in classic confinement, modifying two files with minimal changes. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation that auto-detects Docker containers to automatically configure the core snap in classic confinement. Passed all static and unit tests before integration. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1576 docker: add the environment variable to setup core | snapcraft | merged | Merged #1576 in commit 338278005, adding SNAPCRAFT_SETUP_CORE to the Dockerfile so classic-confinement builds run without manual core setup. | |
| #1112 core: setup core to support classic confinement. | snapcraft | merged | Merged PR #1112 (49b39ef9a) added SNAPCRAFT_SETUP_CORE, fetching and unsquashing core into expected paths for classic-confinement builds on non-Snappy CI hosts. |