1 # This file is a template, and might need editing before it works on your project.
2 # use the official gcc image, based on debian
3 # can use verions as well, like gcc:5.2
4 # see https://hub.docker.com/_/gcc/
9 # instead of calling g++ directly you can also use some build toolkit like make
10 # install the necessary build tools when needed
12 - apt update && apt -y install libncurses-dev libmodbus-dev libsqlite3-dev libident-dev
20 # depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
25 # run tests using the binary built before
29 # Install the -dev versions to avoid needing to find the actual library names
30 - apt update && apt -y install libncurses-dev libmodbus-dev libsqlite3-dev libident netcat
32 - cd tests && ./TEST_basic.sh