Update to Fedora Docker file to use Fedora 37 to resolve current vulnerabilities (#2383)

* Update to use Docker build to use Fedora 37
* Update golang to 1.20
This commit is contained in:
abraunegg 2023-04-18 12:40:05 +10:00 committed by GitHub
parent 56149c285c
commit 4e5a32c210
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 6 deletions

View file

@ -1,8 +1,8 @@
# -*-Dockerfile-*-
ARG FEDORA_VERSION=36
ARG FEDORA_VERSION=37
ARG DEBIAN_VERSION=bullseye
ARG GO_VERSION=1.17
ARG GO_VERSION=1.20
ARG GOSU_VERSION=1.14
FROM golang:${GO_VERSION}-${DEBIAN_VERSION} AS builder-gosu
@ -25,6 +25,9 @@ RUN ./configure \
FROM fedora:${FEDORA_VERSION}
RUN dnf clean all \
&& dnf -y update
RUN dnf install -y libcurl sqlite ldc-libs \
&& dnf clean all \
&& mkdir -p /onedrive/conf /onedrive/data

View file

@ -9,8 +9,8 @@ This client can be run as a Docker container, with 3 available container base op
| 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 |❌|✔|❌|✔|
| Fedora | edge-fedora | Docker container based on Fedora 37 using 'master' |❌|✔|❌|✔|
| Fedora | fedora | Docker container based on Fedora 37 using latest release |❌|✔|❌|✔|
These containers offer a simple monitoring-mode service for the OneDrive Client for Linux.

View file

@ -9,8 +9,8 @@ This client can be run as a Podman container, with 3 available container base op
| 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 |❌|✔|❌|✔|
| Fedora | edge-fedora | Podman container based on Fedora 37 using 'master' |❌|✔|❌|✔|
| Fedora | fedora | Podman container based on Fedora 37 using latest release |❌|✔|❌|✔|
These containers offer a simple monitoring-mode service for the OneDrive Client for Linux.