From 32061147a402ef5d3a701c6df040a10739cd345f Mon Sep 17 00:00:00 2001 From: abraunegg Date: Mon, 17 Apr 2023 18:16:42 +1000 Subject: [PATCH] Update to Debian Docker file to resolve current vulnerabilities * Update to Debian Docker file to resolve current vulnerabilities --- .github/workflows/docker.yaml | 8 ++++---- contrib/docker/Dockerfile-debian | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index a3af6670..21d67e31 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -5,16 +5,16 @@ on: branches: [ master ] tags: [ 'v*' ] pull_request: - branches: - - master - types: [closed] + #branches: + # - master + #types: [closed] env: DOCKER_HUB_SLUG: driveone/onedrive jobs: build: - if: (!(github.event.action == 'closed' && github.event.pull_request.merged != true)) + #if: (!(github.event.action == 'closed' && github.event.pull_request.merged != true)) runs-on: ubuntu-latest strategy: diff --git a/contrib/docker/Dockerfile-debian b/contrib/docker/Dockerfile-debian index 9c0dd8f8..906ba4aa 100644 --- a/contrib/docker/Dockerfile-debian +++ b/contrib/docker/Dockerfile-debian @@ -19,6 +19,7 @@ RUN ./configure DC=/usr/bin/ldmd2 \ FROM debian:${DEBIAN_VERSION}-slim RUN apt-get update \ + && apt-get upgrade -y \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gosu libcurl4 libsqlite3-0 ca-certificates libphobos2-ldc-shared94 \ && rm -rf /var/lib/apt/lists/* \ # Fix bug with ssl on armhf: https://serverfault.com/a/1045189