diff --git a/README.md b/README.md index 945e581..a91e754 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ filesystem overlay, and scripts necessary to build our distribution. ## Running via Docker -To build the Docker image: +To build the Docker image use the `build.sh` script, or: ```bash $ docker build -t buildroot . diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..5b11d10 --- /dev/null +++ b/build.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +docker build -t buildroot . + +docker run \ + --rm \ + --name build-v86 \ + -v $PWD/dist:/build \ + -v $PWD/buildroot-v86/:/buildroot-v86 \ + buildroot + +echo "See ./dist for built ISO"