Scripts for creating distributable debian packages for Mycroft. The script uses debhelper and dh-virtualenv to create a virtualenv installation where mycroft can modify the python modules without the risks of modifying the host environment.
Run the dependencies.sh script to install the prerequisite packages for the build.
./publish/publish.sh
./publish/publish.sh feature/some-branch-to-test
./publish/publish.sh feature/some-branch-to-test --no-clean
./publish/publish.sh release
To make building for different distributions easier a couple of example dockerfiles are included.
To build a docker container for the build copy the appropriate container to the root of the repo
cp docker/Dockerfile.disco Dockerfile
then build the docker container
docker build . -t desktop-package-builder-disco
after that you can run the image to build the package. To retrieve the package you need to specify a /host volume, for example:
docker run -v "`pwd`/debs:/host" -it desktop-package-builder-disco