Update Docker and Podman documents and clarify i386|i686 support (#2370)

* Update Docker and Podman documents clarifying i386|i686 compatibility
* Add building Linux/386 Docker images given that Debian have a compatible LCD version for i386|i686
This commit is contained in:
abraunegg 2023-04-06 07:45:14 +10:00 committed by GitHub
parent 6324f915fc
commit 3aa191e3e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 18 deletions

View file

@ -26,7 +26,7 @@ jobs:
platforms: linux/amd64,linux/arm64
- flavor: debian
dockerfile: ./contrib/docker/Dockerfile-debian
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7
- flavor: alpine
dockerfile: ./contrib/docker/Dockerfile-alpine
platforms: linux/amd64,linux/arm64

View file

@ -1,16 +1,16 @@
# Run the OneDrive Client for Linux under Docker
This client can be run as a Docker container, with 3 available options for you to choose from:
This client can be run as a Docker container, with 3 available container base options for you to choose from:
| Container Base | Docker Tag | Description | x86_64 | ARMHF | AARCH64 |
|----------------|-------------|----------------------------------------------------------------|:------:|:-----:|:-------:|
| Alpine Linux | edge-alpine | Docker container based on Alpine 3.17 using 'master' |✔|❌|✔|
| Alpine Linux | alpine | Docker container based on Alpine 3.17 using latest release |✔|❌|✔|
| Debian | debian | Docker container based on Debian Bullseye using latest release |✔|✔|✔|
| Debian | edge | Docker container based on Debian Bullseye using 'master' |✔|✔|✔|
| Debian | edge-debian | Docker container based on Debian Bullseye using 'master' |✔|✔|✔|
| Debian | latest | Docker container based on Debian Bullseye using latest release |✔|✔|✔|
| Fedora | edge-fedora | Docker container based on Fedora 36 using 'master' |✔|❌|✔|
| Fedora | fedora | Docker container based on Fedora 36 using latest release |✔|❌|✔|
| Container Base | Docker Tag | Description | i686 | x86_64 | ARMHF | AARCH64 |
|----------------|-------------|----------------------------------------------------------------|:------:|:------:|:-----:|:-------:|
| Alpine Linux | edge-alpine | Docker container based on Alpine 3.17 using 'master' |❌|✔|❌|✔|
| Alpine Linux | alpine | Docker container based on Alpine 3.17 using latest release |❌|✔|❌|✔|
| Debian | debian | Docker container based on Debian Bullseye using latest release |✔|✔|✔|✔|
| Debian | edge | Docker container based on Debian Bullseye using 'master' |✔|✔|✔|✔|
| Debian | edge-debian | Docker container based on Debian Bullseye using 'master' |✔|✔|✔|✔|
| Debian | latest | Docker container based on Debian Bullseye using latest release |✔|✔|✔|✔|
| Fedora | edge-fedora | Docker container based on Fedora 36 using 'master' |❌|✔|❌|✔|
| Fedora | fedora | Docker container based on Fedora 36 using latest release |❌|✔|❌|✔|
These containers offer a simple monitoring-mode service for the OneDrive Client for Linux.

View file

@ -1,17 +1,27 @@
# Run the OneDrive Client for Linux under Podman
This client can be run as a Podman container, with 3 available options for you to choose from:
1. Container based on Fedora 36 - Docker Tag: latest
2. Container based on Debian 11 - Docker Tag: debian
3. Container based on Alpine Linux - Docker Tag: alpine
This client can be run as a Podman container, with 3 available container base options for you to choose from:
| Container Base | Docker Tag | Description | i686 | x86_64 | ARMHF | AARCH64 |
|----------------|-------------|----------------------------------------------------------------|:------:|:------:|:-----:|:-------:|
| Alpine Linux | edge-alpine | Podman container based on Alpine 3.17 using 'master' |❌|✔|❌|✔|
| Alpine Linux | alpine | Podman container based on Alpine 3.17 using latest release |❌|✔|❌|✔|
| Debian | debian | Podman container based on Debian Bullseye using latest release |✔|✔|✔|✔|
| Debian | edge | Podman container based on Debian Bullseye using 'master' |✔|✔|✔|✔|
| Debian | edge-debian | Podman container based on Debian Bullseye using 'master' |✔|✔|✔|✔|
| Debian | latest | Podman container based on Debian Bullseye using latest release |✔|✔|✔|✔|
| Fedora | edge-fedora | Podman container based on Fedora 36 using 'master' |❌|✔|❌|✔|
| Fedora | fedora | Podman container based on Fedora 36 using latest release |❌|✔|❌|✔|
These containers offer a simple monitoring-mode service for the OneDrive Client for Linux.
The instructions below have been validated on:
* Fedora 35
The instructions below will utilise the 'latest' tag, however this can be substituted for 'debian' or 'alpine' if desired. The below instructions for podman have only been tested as the root user while running the containers themselves as non-root users.
The instructions below will utilise the 'latest' tag, however this can be substituted for any of the other docker tags from the table above if desired.
**Note:** If you are using Debian or Ubuntu platforms, it is recommended you use the 'debian' Docker tag rather than 'latest' to ensure maximum compatability with your Debian or Ubuntu ecosystem.
Additionally there are specific version release tags for each release. Refer to https://hub.docker.com/r/driveone/onedrive/tags for any other Docker tags you may be interested in.
**Note:** The below instructions for podman have only been tested as the root user while running the containers themselves as non-root users.
## Basic Setup
### 0. Install podman using your distribution platform's instructions if not already installed