2024-11-05 07:17:16 +00:00
|
|
|
# Based on: https://github.com/flatpak/flatpak-docker-images/blob/master/Dockerfile
|
2024-11-05 05:22:20 +00:00
|
|
|
|
2024-11-05 07:17:16 +00:00
|
|
|
FROM fedora:41
|
|
|
|
VOLUME /build
|
|
|
|
WORKDIR /build
|
|
|
|
ENV FLATPAK_GL_DRIVERS=dummy
|
|
|
|
RUN dnf -y update && \
|
|
|
|
dnf install -y flatpak-builder ostree fuse elfutils dconf git bzr p7zip xmlstarlet bzip2 curl jq && \
|
2024-11-05 05:22:20 +00:00
|
|
|
dnf clean all
|
|
|
|
|
2024-11-05 07:17:16 +00:00
|
|
|
RUN flatpak remote-add flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
|
|
RUN flatpak remote-add flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
|
2024-11-05 05:22:20 +00:00
|
|
|
|
|
|
|
# Set default command (optional, for testing purposes)
|
2024-11-05 05:58:03 +00:00
|
|
|
ENTRYPOINT [ "flatpak-builder" ]
|