(→Docker container) |
|||
Line 3: | Line 3: | ||
== Docker container == | == Docker container == | ||
Get Docker container description and scripts from [https://github.com/JoakimLindbom/ago ago files] | Get Docker container description and scripts from [https://github.com/JoakimLindbom/ago ago files] | ||
− | The docker container is | + | The docker container is a Debian Jessie, built based on [[CompilingSource|Compiling from source]] |
Place in e.g. /home/docker | Place in e.g. /home/docker |
Contents |
Get Docker container description and scripts from ago files The docker container is a Debian Jessie, built based on Compiling from source
Place in e.g. /home/docker
Build your Docker development container with ./build_container.sh - this will take more than an hour.
Create a directory for storing the build files permanently, e.g. /home/dev/
Start the Docker container with ./start_builder.sh
curl -sSL get.docker.com | sh sudo systemctl enable docker sudo systemctl start docker sudo usermod -aG docker pi # Or another user of your choice
git clone http://git.agocontrol.com/agocontrol/agocontrol.git
Stable releases are tagged on master. Development happens on the "develop" branch. More details are here: Git
cd agocontrol git checkout develop
For an out of tree build, do this:
mkdir build cd build cmake .. make
If you want to specify build options (e.g. to remove a package from the build), run cmake-gui or ccmake for an interactive dialog.
If you want to compile with debug info (-g option) run "cmake -DCMAKE_BUILD_TYPE=Debug .." instead of "cmake .."
Change into the git dir and run:
dpkg-buildpackage -b -uc -us
To clean everything execute:
dpkg-buildpackage -tc