Skip to content

Commit

Permalink
chore: add a note about compiling libseccomp from scratch
Browse files Browse the repository at this point in the history
We need to compile it from source because version provided by the
distribution is not compiled with musl-gcc.

Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
  • Loading branch information
ShadowCurse committed Dec 11, 2024
1 parent ab1a7b1 commit 1b9eb6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/devctr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ RUN cd /usr/include/$ARCH-linux-musl \
&& ln -s ../asm-generic asm-generic

# Install static version of libseccomp
# We need to compile from source because
# libseccomp provided by the distribution is not
# compiled with musl-gcc and we need this
# for our musl builds.
#
RUN apt-get update \
&& apt-get -y install \
Expand Down

0 comments on commit 1b9eb6a

Please sign in to comment.