build: Add Dockerfile to build a flatpak
This commit is contained in:
parent
da410470c3
commit
4d959f0bb2
|
@ -7,8 +7,8 @@ os:
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- docker pull ubuntu:xenial
|
- docker pull fedora:26
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- docker build --file build/ci/Dockerfile --tag "sparkleshare:nightly" .
|
- docker build --file build/ci/flatpak/Dockerfile --tag "sparkleshare:nightly" .
|
||||||
|
|
||||||
|
|
13
build/ci/flatpak/Dockerfile
Normal file
13
build/ci/flatpak/Dockerfile
Normal 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
|
||||||
|
|
Loading…
Reference in a new issue