Skip to content

Latest commit

 

History

History

docker

Docker

To virtualize the Application build time dependencies they have been collected inside a docker image following docker best practises. You only need to remember to source the

source docker/docker-commands.sh

and you will be ready to run commands inside the docker container like. Here is a list of all commands.

Command Meaning
docker-bash run a bash command inside a docker container
docker-make run a make command inside a docker container
docker-interactive starts a bash session inside a docker container
docker-run run a command inside a docker container

Examples

configuring CMake:

cd build/
docker-bash cmake ..

building

docker-bash make -j $(nproc)

and testing:

docker-bash unit-tests

for example. If you want to run a custom bash command you can do it by:

docker-bash make help

for instance. To get an interactive bash session type:

docker-interactive

which will give you a docker shell:

docker@48fefc2ad3cf:/tmp/workspace/build

Docker image

To just use the latest image just pull from our private registry/repository @ DockerHub:

docker pull heliconwave/circleci:v1

To build the image your self:

make docker-image