We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2018-08-17 10:39:04 +0300

[HowTo] Compile applications with Docker instead of VirtualBox

TLDR:

clone https://github.com/CODeRUS/docker-sailfishos-sdk-local.git

build and run container

for windows: compile helper-win

start qtcreator from helper- folder qtcreator script

Information:

Docker container is based on https://github.com/SfietKonstantin/docker-sailfishos-sdk

Build script and Dockerfile contains instruction to create new container suitable for using with Sailfish OS SDK.

To be continued...

[HowTo] Compile applications with Docker instead of VirtualBox

TLDR:

clone https://github.com/CODeRUS/docker-sailfishos-sdk-local.git

build and run containercontainer 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/docker-sailfishos-sdk

Build script and Dockerfile contains instruction to create new container suitable for using with Sailfish OS SDK.

To be continued...Technical details:

Container is based on latest sialfishos-buildengine-sdk container: https://hub.docker.com/r/coderus/sailfishos-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!

[HowTo] Compile applications with Docker instead of VirtualBox

TLDR:

clone https://github.com/CODeRUS/docker-sailfishos-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/docker-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/sailfishos-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!