Skip to content

Commit 30de7b8

Browse files
authored
Merge pull request #5776 from ncopa/static-libseccomp
Enforce static linking of libseccomp
2 parents a97e38b + 7d08c67 commit 30de7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embedded-bins/runc/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG LIBSECCOMP_VERSION=2.6.0
1818
RUN curl --proto '=https' --tlsv1.2 -L https://github.com/seccomp/libseccomp/releases/download/v$LIBSECCOMP_VERSION/libseccomp-$LIBSECCOMP_VERSION.tar.gz \
1919
| tar -C / -zx
2020

21-
RUN cd /libseccomp-$LIBSECCOMP_VERSION && ./configure --sysconfdir=/etc --enable-static
21+
RUN cd /libseccomp-$LIBSECCOMP_VERSION && ./configure --sysconfdir=/etc --enable-static --disable-shared
2222

2323
RUN make -j$(nproc) -C /libseccomp-$LIBSECCOMP_VERSION
2424
RUN make -j$(nproc) -C /libseccomp-$LIBSECCOMP_VERSION check

0 commit comments

Comments
 (0)