This should work the same in all environments.
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.
-b
specifies which branch you are checking out in the clone (default ismaster
).-c
specifies 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
-i
specifies the image name (default issdrangelspectrum
)-t
specifies the tag version image (default islatest
)
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:
-i
specifies the image name (default issdrangelspectrum
)-t
specifies the tag version image (default islatest
)-c
specifies a container name. Default issdrangelspectrum
-p
specifies the port on the host to which the UI will listen. Default is8081
.