Update Docker files June 2023 (#2438)

* Update Docker Files June 2023 and Documentation
This commit is contained in:
abraunegg 2023-06-21 12:59:46 +10:00 committed by GitHub
parent 4b32dbf12d
commit f5edb8b394
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 28 additions and 22 deletions

View file

@ -5,6 +5,7 @@ on:
branches: [ master ] branches: [ master ]
tags: [ 'v*' ] tags: [ 'v*' ]
pull_request: pull_request:
# Comment these out to force a test build on a PR
branches: branches:
- master - master
types: [closed] types: [closed]
@ -14,7 +15,10 @@ env:
jobs: jobs:
build: build:
# Comment this out to force a test build on a PR
if: (!(github.event.action == 'closed' && github.event.pull_request.merged != true)) if: (!(github.event.action == 'closed' && github.event.pull_request.merged != true))
# Build runs on
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:

View file

@ -1,6 +1,6 @@
# -*-Dockerfile-*- # -*-Dockerfile-*-
ARG FEDORA_VERSION=37 ARG FEDORA_VERSION=38
ARG DEBIAN_VERSION=bullseye ARG DEBIAN_VERSION=bullseye
ARG GO_VERSION=1.20 ARG GO_VERSION=1.20
ARG GOSU_VERSION=1.16 ARG GOSU_VERSION=1.16

View file

@ -1,6 +1,6 @@
# -*-Dockerfile-*- # -*-Dockerfile-*-
ARG ALPINE_VERSION=3.17 ARG ALPINE_VERSION=3.18
ARG GO_VERSION=1.20 ARG GO_VERSION=1.20
ARG GOSU_VERSION=1.16 ARG GOSU_VERSION=1.16

View file

@ -1,10 +1,11 @@
# -*-Dockerfile-*- # -*-Dockerfile-*-
ARG DEBIAN_VERSION=bullseye ARG DEBIAN_VERSION=stable
FROM debian:${DEBIAN_VERSION} AS builder-onedrive FROM debian:${DEBIAN_VERSION} AS builder-onedrive
RUN apt-get update \ RUN apt-get clean \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential curl ca-certificates libcurl4-openssl-dev libsqlite3-dev libxml2-dev pkg-config git ldc \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential curl ca-certificates libcurl4-openssl-dev libsqlite3-dev libxml2-dev pkg-config git ldc \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
@ -18,9 +19,10 @@ RUN ./configure DC=/usr/bin/ldmd2 \
FROM debian:${DEBIAN_VERSION}-slim FROM debian:${DEBIAN_VERSION}-slim
RUN apt-get update \ RUN apt-get clean \
&& apt-get update \
&& apt-get upgrade -y \ && apt-get upgrade -y \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gosu libcurl4 libsqlite3-0 ca-certificates libphobos2-ldc-shared94 \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gosu libcurl4 libsqlite3-0 ca-certificates libphobos2-ldc-shared100 \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
# Fix bug with ssl on armhf: https://serverfault.com/a/1045189 # Fix bug with ssl on armhf: https://serverfault.com/a/1045189
&& /usr/bin/c_rehash \ && /usr/bin/c_rehash \

View file

@ -3,14 +3,14 @@ This client can be run as a Docker container, with 3 available container base op
| Container Base | Docker Tag | Description | i686 | x86_64 | ARMHF | AARCH64 | | 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 | edge-alpine | Docker container based on Alpine 3.18 using 'master' |❌|✔|❌|✔|
| Alpine Linux | alpine | Docker container based on Alpine 3.17 using latest release |❌|✔|❌|✔| | Alpine Linux | alpine | Docker container based on Alpine 3.18 using latest release |❌|✔|❌|✔|
| Debian | debian | Docker container based on Debian Bullseye using latest release |✔|✔|✔|✔| | Debian | debian | Docker container based on Debian Stable using latest release |✔|✔|✔|✔|
| Debian | edge | Docker container based on Debian Bullseye using 'master' |✔|✔|✔|✔| | Debian | edge | Docker container based on Debian Stable using 'master' |✔|✔|✔|✔|
| Debian | edge-debian | Docker container based on Debian Bullseye using 'master' |✔|✔|✔|✔| | Debian | edge-debian | Docker container based on Debian Stable using 'master' |✔|✔|✔|✔|
| Debian | latest | Docker container based on Debian Bullseye using latest release |✔|✔|✔|✔| | Debian | latest | Docker container based on Debian Stable using latest release |✔|✔|✔|✔|
| Fedora | edge-fedora | Docker container based on Fedora 37 using 'master' |❌|✔|❌|✔| | Fedora | edge-fedora | Docker container based on Fedora 38 using 'master' |❌|✔|❌|✔|
| Fedora | fedora | Docker container based on Fedora 37 using latest release |❌|✔|❌|✔| | Fedora | fedora | Docker container based on Fedora 38 using latest release |❌|✔|❌|✔|
These containers offer a simple monitoring-mode service for the OneDrive Client for Linux. These containers offer a simple monitoring-mode service for the OneDrive Client for Linux.

View file

@ -3,14 +3,14 @@ This client can be run as a Podman container, with 3 available container base op
| Container Base | Docker Tag | Description | i686 | x86_64 | ARMHF | AARCH64 | | 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 | edge-alpine | Podman container based on Alpine 3.18 using 'master' |❌|✔|❌|✔|
| Alpine Linux | alpine | Podman container based on Alpine 3.17 using latest release |❌|✔|❌|✔| | Alpine Linux | alpine | Podman container based on Alpine 3.18 using latest release |❌|✔|❌|✔|
| Debian | debian | Podman container based on Debian Bullseye using latest release |✔|✔|✔|✔| | Debian | debian | Podman container based on Debian Stable using latest release |✔|✔|✔|✔|
| Debian | edge | Podman container based on Debian Bullseye using 'master' |✔|✔|✔|✔| | Debian | edge | Podman container based on Debian Stable using 'master' |✔|✔|✔|✔|
| Debian | edge-debian | Podman container based on Debian Bullseye using 'master' |✔|✔|✔|✔| | Debian | edge-debian | Podman container based on Debian Stable using 'master' |✔|✔|✔|✔|
| Debian | latest | Podman container based on Debian Bullseye using latest release |✔|✔|✔|✔| | Debian | latest | Podman container based on Debian Stable using latest release |✔|✔|✔|✔|
| Fedora | edge-fedora | Podman container based on Fedora 37 using 'master' |❌|✔|❌|✔| | Fedora | edge-fedora | Podman container based on Fedora 38 using 'master' |❌|✔|❌|✔|
| Fedora | fedora | Podman container based on Fedora 37 using latest release |❌|✔|❌|✔| | Fedora | fedora | Podman container based on Fedora 38 using latest release |❌|✔|❌|✔|
These containers offer a simple monitoring-mode service for the OneDrive Client for Linux. These containers offer a simple monitoring-mode service for the OneDrive Client for Linux.