build ci: Don't forget to say yes to dnf

This commit is contained in:
Hylke Bons 2017-07-31 14:54:57 +01:00
parent 4d959f0bb2
commit 1e8c2ae5b9
2 changed files with 6 additions and 6 deletions

View file

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

View file

@ -1,13 +1,13 @@
FROM fedora:26
FROM fedora:latest
RUN dnf install flatpak-builder
RUN dnf install -y flatpak-builder
RUN git clone https://github.com/hbons/org.sparkleshare.SparkleShare
WORKDIR /org.sparkleshare.SparkleShare
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