← Back to issue list

lifecycle: detect docker to auto setup core

View original Github issue

Metadata

Project
snapcraft
Number
#1801
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds Docker detection to automatically configure the core snap during classic confinement, streamlining setup without manual intervention.

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 a one-line Dockerfile update adding the SNAPCRAFT_SETUP_CORE environment variable to enable straightforward snapcraft builds with classic confinement. The change was approved, passed CI checks, and successfully integrated.
75%
#1112 core: setup core to support classic confinement. snapcraft merged Merged after CI fixes and reviewer approval. Introduces SNAPCRAFT_SETUP_CORE environment variable support to manually unpack the core snap, enabling classic confinement on systems lacking /snap/core/current.
74%