summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJagger De Leo <jcdl@fastmail.com>2021-05-10 00:23:29 -0400
committerLinus Groh <mail@linusgroh.de>2021-05-12 08:30:02 +0100
commit0ed46103ed878febf6d3a08701c5e048b621aa76 (patch)
treef1c03a70236f925f4ac8a5aabd732337ecf6816f /Documentation
parent0a329d2d70f636fb1d0cbe26be56ccfbd5554238 (diff)
downloadserenity-0ed46103ed878febf6d3a08701c5e048b621aa76.zip
Documentation: Add Alpine Linux build instructions
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/BuildInstructions.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md
index a04ad94585..497cbb66ca 100644
--- a/Documentation/BuildInstructions.md
+++ b/Documentation/BuildInstructions.md
@@ -106,6 +106,24 @@ Then use this script: `nix-shell myshell.nix`.
Once you're in nix-shell, you should be able to follow the build directions.
+#### Alpine Linux
+
+First, make sure you have enabled the `community` repository in `/etc/apk/repositories` and run `apk update`. It has been tested on `edge`, YMMV on `stable`.
+
+```console
+# the basics, if you have not already done so
+apk add bash curl git util-linux sudo
+
+# rough equivalent of build-essential
+apk add build-base
+
+# qemu
+apk add qemu qemu-system-i386 qemu-img qemu-ui-gtk
+
+# build tools (samurai is a drop-in replacement for ninja)
+apk add cmake e2fsprogs grub-bios samurai mpc1-dev mpfr-dev gmp-dev
+```
+
### macOS prerequisites
Make sure you have all the dependencies installed: