mirror of
https://github.com/RetroDECK/retrodeck-builder.git
synced 2024-11-21 13:45:38 +00:00
Adding flatpak remotes in system mode
This commit is contained in:
parent
87dcb50dde
commit
ef210c0721
|
@ -13,8 +13,8 @@ RUN dnf install -y \
|
|||
dnf clean all
|
||||
|
||||
# Add flathub and flathub-beta remotes for flatpak
|
||||
RUN flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && \
|
||||
flatpak remote-add --user --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
|
||||
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
|
||||
|
||||
# Set default command (optional, for testing purposes)
|
||||
ENTRYPOINT [ "flatpak-builder", "--install-deps-from=flathub", "--install-deps-from=flathub-beta" ]
|
12
README.md
12
README.md
|
@ -1,2 +1,14 @@
|
|||
# retrodeck-builder
|
||||
A docker container to ease RetroDECK's build
|
||||
|
||||
Example usage:
|
||||
```bash
|
||||
docker run --rm \
|
||||
-v "$PWD:/workspace" \
|
||||
-w /workspace \
|
||||
ghcr.io/retrodeck/retrodeck-builder:latest \
|
||||
--force-clean \
|
||||
--repo="/workspace/repo" \
|
||||
"/workspace/build-dir" \
|
||||
"net.retrodeck.retrodeck.yml"
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue