mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Allow fedora to use either docker or docker-ce
This commit is contained in:
parent
4d6de4f077
commit
d62995366f
3 changed files with 9 additions and 5 deletions
|
@ -105,7 +105,7 @@ jobs:
|
|||
- run:
|
||||
name: Install dependencies
|
||||
command: |
|
||||
dnf install -y git openssh ruby-devel make automake gcc gcc-c++ rpm-build qt5-devel python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests
|
||||
dnf install -y git openssh ruby-devel make automake gcc gcc-c++ rpm-build qt5-devel python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests docker
|
||||
gem install package_cloud
|
||||
- checkout
|
||||
- run:
|
||||
|
@ -127,7 +127,7 @@ jobs:
|
|||
- run:
|
||||
name: Install dependencies
|
||||
command: |
|
||||
dnf install -y git openssh ruby-devel make automake gcc gcc-c++ rpm-build qt5-devel python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests
|
||||
dnf install -y git openssh ruby-devel make automake gcc gcc-c++ rpm-build qt5-devel python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests docker
|
||||
gem install package_cloud
|
||||
- checkout
|
||||
- run:
|
||||
|
|
8
BUILD.md
8
BUILD.md
|
@ -5,9 +5,11 @@
|
|||
Install dependencies:
|
||||
|
||||
```sh
|
||||
sudo apt install -y python-all dh-python python3-stdeb docker.io python3 python3-pyqt5 python3-appdirs python3-click python3-xdg python3-requests
|
||||
sudo apt install -y python-all dh-python python3-stdeb python3 python3-pyqt5 python3-appdirs python3-click python3-xdg python3-requests
|
||||
```
|
||||
|
||||
You also need docker, either by installing the `docker.io` package, or by installing `docker-ce` by following [these instructions for Ubuntu](https://docs.docker.com/install/linux/docker-ce/ubuntu/) or [for Debian](https://docs.docker.com/install/linux/docker-ce/debian/).
|
||||
|
||||
Run from source tree:
|
||||
|
||||
```sh
|
||||
|
@ -25,9 +27,11 @@ Create a .deb:
|
|||
Install dependencies:
|
||||
|
||||
```sh
|
||||
sudo dnf install -y rpm-build python3 python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests podman
|
||||
sudo dnf install -y rpm-build python3 python3-qt5 python3-appdirs python3-click python3-pyxdg python3-requests
|
||||
```
|
||||
|
||||
You also need docker, either by installing the `docker` package, or by installing `docker-ce` by following [these instructions](https://docs.docker.com/install/linux/docker-ce/fedora/).
|
||||
|
||||
Run from source tree:
|
||||
|
||||
```sh
|
||||
|
|
|
@ -39,7 +39,7 @@ def main():
|
|||
"python3",
|
||||
"setup.py",
|
||||
"bdist_rpm",
|
||||
"--requires=python3-qt5,python3-appdirs,python3-click,python3-pyxdg,python3-requests,podman",
|
||||
'--requires="python3-qt5,python3-appdirs,python3-click,python3-pyxdg,python3-requests,(docker or docker-ce)"',
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue