From cdfe233362ecbe548b12758cdba6ad7658082591 Mon Sep 17 00:00:00 2001 From: David Humphrey Date: Fri, 26 Apr 2019 13:40:09 -0400 Subject: [PATCH] Add build.sh script --- README.md | 2 +- build.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 build.sh 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"