readme.md
May 30, 2020 ยท View on GitHub
Building and running SDRangelSpectrum in a Docker container
This should work the same in all environments.
Build image
Use the build.sh script to produce the sdrangelspectrum/node:latest image
The build command can control from which branch you are cloning the source of SDRangelSpectrum. You can also give a different tag version than the default.
-bspecifies which branch you are checking out in the clone (default ismaster).-cspecifies an arbitrary commit label. This is to force a fresh clone of the SDRangelSpectrum repository. If that label changes from the one previously used then the clone layer in the build cache is refreshed.- By default this is the current timestamp so each time the build is run a new cache is built
- You can specify the commit SHA1 so that a fresh copy will be taken only if a new commit took place
-ispecifies the image name (default issdrangelspectrum)-tspecifies the tag version image (default islatest)
Run image
Use the run.sh script without options to run the image. By default it listens to port 8081 on the host and uses the latest image version. You may use the -p and -t options respectively to specify your own values.
The available options are:
-ispecifies the image name (default issdrangelspectrum)-tspecifies the tag version image (default islatest)-cspecifies a container name. Default issdrangelspectrum-pspecifies the port on the host to which the UI will listen. Default is8081.