Skip to content

Commit

Permalink
Switch Docker image to use Flathub's flatpak-builder-lint
Browse files Browse the repository at this point in the history
This way, all tools match the one used on Flathub infra, and reduce
potential breakage caused by Fedora bumping packages.
  • Loading branch information
barthalion committed Dec 15, 2023
1 parent a5d72cf commit b1ee00e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
FROM fedora:latest

RUN dnf update -y && \
dnf install -y dbus-daemon flatpak flatpak-builder git-lfs python3-aiohttp python3-tenacity python3-gobject xorg-x11-server-Xvfb ccache zstd libappstream-glib && \
dnf clean all
FROM ghcr.io/flathub/flatpak-builder-lint:latest
ENTRYPOINT []

RUN flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
RUN flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
RUN flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo

RUN flatpak install flathub org.flatpak.Builder -y

ADD --chmod=755 https://raw.githubusercontent.com/flatpak/flat-manager/b07fe8652357ce16d9625f72f9acceaca94d860a/flat-manager-client /usr/bin

0 comments on commit b1ee00e

Please sign in to comment.