... | ... | @@ -3,12 +3,18 @@ |
|
|
|
|
|
ShellB3 is a pre-built scientific python environment meant for distribution or use with SSEC python projects.
|
|
|
|
|
|
## Docker build for CSPP (2021Q2) - see `Docker/build.sh`
|
|
|
## Docker build for CSPP (2021Q2) - see [Docker/build.sh](https://gitlab.ssec.wisc.edu/rayg/ShellB3/-/tree/base_2021Q2/Docker)
|
|
|
1. Build the software into a container
|
|
|
`docker build --no-cache --build-arg BORT=branch-or-tag-name . -f shellb3-cspp-py38.Dockerfile -t shellb3-cspp-py38.latest
|
|
|
|
|
|
```sh
|
|
|
docker build --no-cache --build-arg BORT=branch-or-tag-name . -f shellb3-cspp-py38.Dockerfile -t shellb3-cspp-py38.latest
|
|
|
```
|
|
|
|
|
|
2. Create relocatable binaries and export a tar ball to local directory
|
|
|
`docker run -e SHELLB3_ARCHIVE_DIR=/dock -it --rm -v $HOME/dock:/dock -w /opt/shellb3-cspp-py38/ShellB3 shellb3-cspp-py38:latest /bin/bash -l -c "unset LANG; bash shallbethree.sh bin_dist"`
|
|
|
|
|
|
```sh
|
|
|
docker run -e SHELLB3_ARCHIVE_DIR=/dock -it --rm -v $HOME/dock:/dock -w /opt/shellb3-cspp-py38/ShellB3 shellb3-cspp-py38:latest /bin/bash -l -c "unset LANG; bash shallbethree.sh bin_dist"
|
|
|
```
|
|
|
|
|
|
|
|
|
|
... | ... | |