Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [HowTo] Compile applications with Docker instead of VirtualBox

    Reply
    coderus | # 1 | 2018-08-17, 14:48 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 9 Users Say Thank You to coderus For This Useful Post:
    ajalkane, Bundyo, carlosgonz, jakibaki, juiceme, nieldk, pagis, peterleinchen, rcolistete

     
    pagis | # 2 | 2018-08-17, 19:26 | Report

    in run.sh line4 SailfishOS2 should be SailfishOS

    it also assumes SailfishOS is under /home/$USER which is not always the case.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to pagis For This Useful Post:
    ajalkane, juiceme

     
    coderus | # 3 | 2018-08-18, 06:07 | Report

    Originally Posted by pagis View Post
    in run.sh line4 SailfishOS2 should be SailfishOS

    it also assumes SailfishOS is under /home/$USER which is not always the case.
    I have multiple SailfishOS SDK installations on my PC to test many things, so i have SailfishOS2/3/4/5 folders

    I'm sure you can tune script for your installation location easily

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to coderus For This Useful Post:
    juiceme, pagis

     
vBulletin® Version 3.8.8
Normal Logout