← Back to issue list

docker: install snapd dependency

View original Github issue

Metadata

Project
snapcraft
Number
#3210
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #3210 in commit 42d3861a, adding snapd to Snapcraft Docker images so required snap pack operations continue working.

Resolution: closed resolved

Reason: PR #3210 was merged as commit 42d3861a. Its Docker image changes install snapd, restoring the dependency needed by snap pack.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Recent changes to snapcraft now require the use of `snap pack`, so we must install the snapd package for Docker images to continue to function. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] 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/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #3210 in commit 42d3861a, adding snapd to Snapcraft Docker images so required snap pack operations continue working.
stealth/space-bunny-alpha — closed resolved Merged #3210 via commit 42d3861a, installing snapd in Snapcraft Docker images so the required snap pack command continues to work.
qwen/qwen3.6-35b-a3b — — Merged. Adds snapd installation to Docker images to satisfy snapcraft's new snap pack requirement. Approved by two reviewers, passed CI, and modified five files.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Installs snapd in Docker images to satisfy the new snap pack requirement from recent snapcraft updates. Resolved minor conflicts with related PR #2673 during integration.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#2673 (confidence 90%)

    The author noted that Docker parametrization PR #2673 could be merged before or after this change; it later merged as b982555e1.

Related issues

Issue Project State Summary Similarity
#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.
75%
#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.
75%
#1814148 suppress snap installation when on docker snapcraft (launchpad) closed Snap installation in Docker was suppressed by detecting snapd-unavailable environments; linked PR snapcraft#2457 was merged as commit bacf47f7a.
74%
#2671 docker: remove snapcraft-wrapper snapcraft merged PR #2671 merged as commit 393956c09, deleting the now-obsolete docker/bin/snapcraft-wrapper left over after #2591 (b292b64d). Maintainers noted it broke the gnome-3-28-1804 image, to be fixed separately.
71%
#3971 snap config: do not crash when config cannot be retrieved snapcraft merged Merged PR #3971 as commit 1aec6c84b, preventing Snapcraft from crashing when snap config retrieval fails because snapd is unavailable in Docker.
71%
#1840 docker: instructions to build from the snap snapcraft merged Merged PR #1840 in commit 91266e7e2, adding Docker build-from-snap instructions to three documentation files.
71%
#1836355 Docker Container https://hub.docker.com/r/snapcore/snapcraft on edge doesnt contain snapd snapcraft (launchpad) closed Docker images gained snapd through merged PR #3210 (commit 42d3861a), resolving the reported omission despite the earlier Docker-limitation closure.
70%