Docker images for supereight and supereight 2.
Depending on how your system is set up, you might have to run the following
commands as root (using sudo
). You will also have to start the docker daemon
by running docker
(also possibly as root).
Docker image for running CI pipelines for supereight. It contains all the dependencies required to compile supereight (without a GUI) and its unit tests. Generated from Dockerfile and available on DockerHub.
In order for CMake to find googletest and successfully compile the tests, the following environment variable has been already set in the image:
GTest_ROOT=/usr/local/src/googletest/googletest/
# Build all images
make
# Build only the image based on Ubuntu 18.04
make 18.04
make push
# Run using the default image (the value of IMAGE in Makefile)
make run
# Run using the image tagged "sotirisp/supereight-ci:18.04"
make IMAGE=18.04 run
Docker image for testing the private SRL version of supereight. It contains all required dependencies to compile supereight without a GUI and its unit tests. Unlike supereight-ci, it also contains a clone of the supereight-srl repository. Generated from Dockerfile.
Before building the image you'll need to create a passwordless SSH key and
authorize it to read the private supereight repository. The key must be placed
in the file ~/.ssh/git_readonly_key
.
After setting up the SSH key run
# Build using the default image (the value of IMAGE in Makefile)
make test
# Build using the image tagged "sotirisp/supereight-ci:18.04"
make IMAGE=18.04 run
# Run using the default image (the value of IMAGE in Makefile)
make run-test
# Run using the image tagged "sotirisp/supereight-ci:18.04"
make IMAGE=18.04 run-test
Note that if you exit the container, any changes you've made will be discarded.
To remove any leftover images and containers run
make clean
CAUTION: This will affect all docker images/containers, not just the supereight ones.