docker: add the environment variable to setup core
Metadata
Current evaluation
Merged #1576 in commit 338278005, adding SNAPCRAFT_SETUP_CORE to the Dockerfile so classic-confinement builds run without manual core setup.
Resolution: closed resolved
Reason: PR #1576 was merged as commit 338278005. Its Dockerfile change enabled the existing core setup path for Docker-based classic-confinement builds.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The Dockerfile is missing SNAPCRAFT_SETUP_CORE which would enable
straightforward snapcraft builds 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 #1576 in commit 338278005, adding SNAPCRAFT_SETUP_CORE to the Dockerfile so classic-confinement builds run without manual core setup. | |
| stealth/space-bunny-alpha | — | closed resolved | Added SNAPCRAFT_SETUP_CORE to the Dockerfile in merged PR #1576, enabling straightforward Snapcraft builds with classic confinement. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes adding the SNAPCRAFT_SETUP_CORE environment variable to the Dockerfile, enabling straightforward snapcraft builds with classic confinement. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#1112
(confidence 98%)
Earlier merged PR #1112, commit 49b39ef9a, introduced SNAPCRAFT_SETUP_CORE support; #1576 enabled it in the Dockerfile.
-
Related To:
snapcraft#1801
(confidence 90%)
Later merged PR #1801, commit 8d32a835d, added Docker auto-detection to set up core automatically.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #1801 lifecycle: detect docker to auto setup core | snapcraft | merged | Merged PR snapcore/snapcraft#1801 (commit 8d32a835d), adding Docker detection to automatically set up core for classic-confinement projects. | |
| #4313 environment: add build-on and build-for envvars for core20 | snapcraft | merged | Merged PR #4313 as 93a9d8170, adding core20 SNAPCRAFT build-on/build-for architecture and triplet environment variables plus tests. | |
| #2883 docker: add core18 snap that snapcraft now uses as a base | snapcraft | merged | Merged PR #2883 as commit 6bd9dac10, adding core18 to Docker images as Snapcraft's base and updating related comments. |