[HowTo] Compile applications with Docker instead of VirtualBox
TLDR:
clone https://github.com/CODeRUS/docker-sa...-sdk-local.git build and run container with provided scripts for windows: compile helper-win start qtcreator from helper- folder with qtcreator script Information: Docker container is based on https://github.com/SfietKonstantin/d...sailfishos-sdk Build script and Dockerfile contains instruction to create new container suitable for using with Sailfish OS SDK. Technical details: Container is based on latest sialfishos-buildengine-sdk container: https://hub.docker.com/r/coderus/sai...s-platform-sdk Dockerfile perform all magic operations including: Add mersdk user to build engine Transform Platform SDK to Application SDK Install SSH server Install SDK manage web interface Additional helper scripts features: run script expose 2222 and 8080 ports on windows, and using host network in linux systems. helper-win contains c# console application for faking QtCreator virtualbox machine running status. start compile.bat to compile. For linux users no additional compilation is required. install.sh for linux adds sdk-build-package command to your PATH, a handy mb2 wrapper. Have fun and comment! |
Re: [HowTo] Compile applications with Docker instead of VirtualBox
in run.sh line4 SailfishOS2 should be SailfishOS
it also assumes SailfishOS is under /home/$USER which is not always the case. |
Re: [HowTo] Compile applications with Docker instead of VirtualBox
Quote:
I'm sure you can tune script for your installation location easily :) |
All times are GMT. The time now is 13:46. |
vBulletin® Version 3.8.8