This package contains everything needed to built, edit and run all the containers used for the cengaver rover.
- The
buildall
script is used to refresh all git repositories used in all containers, and then using them to build docker images.
./build/buildall.sh
#Best to do if you just cloned the repo.
- The
Build.sh
script uses the already cached repositories to build docker images. This means the repositories (or the container itself) can be configured and rebuilt without updating the repo from github.
./build/Build.sh <docker-image-name>
#Run without <docker-image-name> to see options
(Note that for Buildspecific
to work, you need to have ran buildall
at least once.)
The main method for starting all containers is startall
:
./run/runall.sh
Alternatively, for running a single container:
./run/Run.sh <docker-image-name>
#Run without <docker-image-name> to see options
If you needed to change anything about the containers (changing repositories manually, adding a line to the autostart script, etc.)
You can check each container by its name in the build/
directory.
Each folder is required to have a Dockerfile
, and an init
.
init
is a bash script used to refresh any repositories that are being used, while Dockerfile
uses those repositories to build the final image.
You can find your cloned repo inside its containers' folder.
It is best practice to keep your repository clones inside init
, so in case things needed to be modified offline, they can!
Apache-2.0 License
Original author: DenavDot