Skip to content

Commit

Permalink
Add build.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd committed Apr 26, 2019
1 parent a7800f7 commit cdfe233
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
12 changes: 12 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit cdfe233

Please sign in to comment.