| ... | ... | @@ -26,6 +26,12 @@ docker build -t shellb3_centos6 . |
|
|
|
docker run --name shellb3_centos6_build -v /path/to/ShellB3:/host shellb3_centos6 mk_polar2grid bin_dist clean
|
|
|
|
```
|
|
|
|
|
|
|
|
Or the shorter form (needs testing):
|
|
|
|
|
|
|
|
```
|
|
|
|
docker run --rm -w /host/ShellB3 --name shellb3_centos6_build -v /path/to/ShellB3:/host shellb3_centos6 bash shallbethree.sh mk_polar2grid bin_dist clean
|
|
|
|
```
|
|
|
|
|
|
|
|
Where `/path/to/ShellB3` is the absolute path to the ShellB3 repository you cloned in Step 1. In this example `mk_polar2grid` is the ShellB3 trim being built, this can be changed to whatever you'd like. The `clean` command should be included if you plan to build for multiple operating systems (other docker images) so that the previous build is removed from the working directory. The final tarball generated with be in `/path/to/ShellB3`
|
|
|
|
|
|
|
|
You can also replace `mk_polar2grid bin_dist clean` with any `shallbethree.sh` arguments. Note that each call to `docker run` will create a new docker container that will need to be deleted.
|
| ... | ... | |
| ... | ... | |