Skip to content

Dockerfile: remove dpkg-dev, libudev-dev, libsecret-1-dev, libbtrfs-dev dependencies#49067

Merged
thaJeztah merged 4 commits intomoby:masterfrom
thaJeztah:remove_build_deps_step2
Dec 12, 2024
Merged

Dockerfile: remove dpkg-dev, libudev-dev, libsecret-1-dev, libbtrfs-dev dependencies#49067
thaJeztah merged 4 commits intomoby:masterfrom
thaJeztah:remove_build_deps_step2

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Dec 11, 2024

Dockerfile: remove dpkg-dev dependency

We don't build .deb packages as part of the Dockerfiles in this
repository, so we can remove this dependency.

Dockerfile: remove libudev-dev dependency

It was introduced in e89a5e5, and probably
used for devicemapper, which we no longer support, so likely unused.

Dockerfile: remove libsecret-1-dev dependency

This dependency was added in 81d704d, but
I could not find a reference to it, and we may not need it.

Dockerfile: remove libbtrfs-dev dependency

Starting with containerd@52f82ac (containerd 1.7), this dependency is no
longer needed for building containerd.

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah thaJeztah added status/2-code-review area/packaging kind/refactor PR's that refactor, or clean-up code labels Dec 11, 2024
@thaJeztah thaJeztah added this to the 28.0.0 milestone Dec 11, 2024
@thaJeztah thaJeztah self-assigned this Dec 11, 2024
We don't build .deb packages as part of the Dockerfiles in this
repository, so we can remove this dependency.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
It was introduced in e89a5e5, and probably
used for devicemapper, which we no longer support, so likely unused.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
This dependency was added in 81d704d, but
I could not find a reference to it, and we may not need it.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the remove_build_deps_step2 branch from c4cdcc3 to 7d79b30 Compare December 11, 2024 15:34
Comment thread Dockerfile Outdated
@@ -210,7 +210,6 @@ RUN --mount=type=cache,sharing=locked,id=moby-containerd-aptlib,target=/var/lib/
apt-get update && xx-apt-get install -y --no-install-recommends \
gcc \
libbtrfs-dev \
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one should also be redundant now, as we're now on containerd 1.7, which no longer uses this;

Starting with [containerd@52f82ac] (containerd 1.7), this dependency is no
longer needed for building containerd.

[containerd@52f82ac]: containerd/containerd@52f82ac

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah changed the title Dockerfile: remove dpkg-dev, libudev-dev, libsecret-1-dev dependencies Dockerfile: remove dpkg-dev, libudev-dev, libsecret-1-dev, libbtrfs-dev dependencies Dec 11, 2024
@thaJeztah thaJeztah marked this pull request as ready for review December 11, 2024 17:45
@thaJeztah thaJeztah merged commit d60e55d into moby:master Dec 12, 2024
@thaJeztah thaJeztah deleted the remove_build_deps_step2 branch December 12, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants