diff --git a/README.md b/README.md
index 46b171eccab316f5579ef975e90c672c8b4898ff..a626629476e0e4afea13cfa00a3593380a875dff 100644
--- a/README.md
+++ b/README.md
@@ -7,13 +7,18 @@ Designed for environments with multiple homeservers, matrix-media-repo de-duplic
 # Installing
 
 Assuming Go 1.9 is already installed on your PATH:
-```
+```bash
 # Get it
 git clone https://github.com/turt2live/matrix-media-repo
 cd matrix-media-repo
 
-# Build it
+# Set up the build tools
+currentDir=$(pwd)
+export GOPATH="$currentDir/vendor/src:$currentDir/vendor:$currentDir:"$GOPATH
 go get github.com/constabulary/gb/...
+export PATH=$PATH":$currentDir/vendor/bin"
+
+# Build it
 gb vendor restore
 gb build
 
@@ -24,6 +29,14 @@ cp config.sample.yaml media-repo.yaml
 bin/media_repo
 ```
 
+### Installing in Alpine Linux
+
+The steps are almost the same as above. The only difference is that `gb build` will not work, so instead use the following lines:
+```bash
+go build -o bin/media_repo ./src/github.com/turt2live/matrix-media-repo/cmd/media_repo/
+go build -o bin/import_synapse ./src/github.com/turt2live/matrix-media-repo/cmd/import_synapse/
+```
+
 # Deployment
 
 This is intended to run behind a load balancer and beside your homeserver deployments. A sample nginx configuration for this is: