Skip to content

Commit

Permalink
document how to build under alpine
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Deitcher <avi@deitcher.net>
  • Loading branch information
deitch committed Jul 19, 2024
1 parent 3778ae6 commit 94e5662
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/alpine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Building runc under alpine linux

To build under alpine linux, whether booted alpine or in a container:

```sh
apk add make gcc libseccomp-dev musl-dev linux-headers git
# statically linked
make static
# dynamically linked
make runc
```

If you have issues with seccomp, you can disable it with:

```sh
make static BUILDTAGS=
# or
make runc BUILDTAGS=
```

0 comments on commit 94e5662

Please sign in to comment.