Skip to content

Commit 7168d98

Browse files
Remove libseccomp dependency in runtime-dev-cross-true image
It turns out libseccomp is not used for building docker at all. It is only used for building runc (and needs libseccomp > 2.4) Signed-off-by: Frédéric Dalleau <[email protected]>
1 parent ee8f581 commit 7168d98

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,12 @@ ARG DEBIAN_FRONTEND
127127
# on non-amd64 systems.
128128
# Additionally, the crossbuild-amd64 is currently only on debian:buster, so
129129
# other architectures cannnot crossbuild amd64.
130-
RUN echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list
131130
RUN --mount=type=cache,sharing=locked,id=moby-cross-true-aptlib,target=/var/lib/apt \
132131
--mount=type=cache,sharing=locked,id=moby-cross-true-aptcache,target=/var/cache/apt \
133132
apt-get update && apt-get install -y --no-install-recommends \
134133
libapparmor-dev:arm64 \
135134
libapparmor-dev:armel \
136-
libapparmor-dev:armhf \
137-
libseccomp-dev:arm64/buster-backports \
138-
libseccomp-dev:armel/buster-backports \
139-
libseccomp-dev:armhf/buster-backports
135+
libapparmor-dev:armhf
140136

141137
FROM runtime-dev-cross-${CROSS} AS runtime-dev
142138

0 commit comments

Comments
 (0)