retrodeck-builder/Dockerfile

20 lines
682 B
Docker
Raw Normal View History

2024-11-05 11:35:47 +00:00
# Use Fedora as the base image
FROM fedora:41
# Install the required packages
RUN dnf install -y \
flatpak \
flatpak-builder \
p7zip \
xmlstarlet \
bzip2 \
curl \
jq && \
dnf clean all
# Add flathub and flathub-beta remotes for flatpak
2024-11-05 11:47:52 +00:00
RUN flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
RUN flatpak remote-add --system --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
2024-11-05 11:35:47 +00:00
# Set default command (optional, for testing purposes)
2024-11-05 12:15:02 +00:00
ENTRYPOINT [ "flatpak-builder", "--install-deps-from=flathub", "--install-deps-from=flathub-beta", "--disable-rofiles-fuse" ]