Add build.sh script

This commit is contained in:
David Humphrey 2019-04-26 13:40:09 -04:00
parent a7800f7392
commit cdfe233362
2 changed files with 13 additions and 1 deletions

View File

@ -15,7 +15,7 @@ filesystem overlay, and scripts necessary to build our distribution.
## Running via Docker ## Running via Docker
To build the Docker image: To build the Docker image use the `build.sh` script, or:
```bash ```bash
$ docker build -t buildroot . $ docker build -t buildroot .

12
build.sh Executable file
View File

@ -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"