build: Add Dockerfile to build a flatpak

This commit is contained in:
Hylke Bons 2017-07-31 14:51:32 +01:00
parent da410470c3
commit 4d959f0bb2
2 changed files with 15 additions and 2 deletions

View file

@ -7,8 +7,8 @@ os:
- linux
before_install:
- docker pull ubuntu:xenial
- docker pull fedora:26
script:
- docker build --file build/ci/Dockerfile --tag "sparkleshare:nightly" .
- docker build --file build/ci/flatpak/Dockerfile --tag "sparkleshare:nightly" .

View file

@ -0,0 +1,13 @@
FROM fedora:26
RUN dnf install flatpak-builder
RUN flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
RUN flatpak install gnome org.gnome.Platform 3.24
RUN flatpak install gnome org.gnome.Sdk 3.24
RUN git clone https://github.com/hbons/org.sparkleshare.SparkleShare
RUN cd org.sparkleshare.SparkleShare
RUN flatpak-builder --repo=repo app org.sparkleshare.SparkleShare.json