- Run
build.sh
- Image tagged
sailfishos-platform-sdk
will be generated - Get a shell with
docker run -it sailfishos-platform-sdk /bin/bash
- Enter in Scratchbox with
sb2 -t SailfishOS-2.2.0.29-armv7hl
The goal of this repository is to package the Sailfish OS platform SDK as a Docker image.
This image can be used to invoke all the command-line tools shipped in the SDK. It is not really a replacement of Jolla's VM based SDK, as the image has no integration with Qt Creator, nor can it deploy automatically to the emulator.
Instead this image can be used when automation are needed, for instance in CI. However, you can still use it in your daily developement workflow by invoking the tools and the deployment steps manually.
This repository contains one script, build.sh
, that will
- Download 2.2.0.29 version of the SDK
- Create a base image from it
- Download 2.2.0.29
armv7hl
andi486
rootfs and install them
As a result, you will get an image that will be ready to use to build for both phones, tablet and the emulator.
This script tags two images
sailfishos-platform-sdk-base
contains the SDK, without any installed targetsailfishos-platform-sdk
contains the SDK and installed targets forarmv7hl
andi486
You must have Docker installed and started.
You must also be connected to the Internet in order to build the image.
- Check out the project
git clone https://github.com/coderus/docker-sailfishos-sdk.git
- Place yourself in the root of the checked project
cd docker-sailfishos-sdk
- Run the build script
./build.sh
- EvilJazz for the inspiration
- SfietKonstantin for the initial version of scripts