Update to Debian Docker file to resolve current vulnerabilities

* Update to Debian Docker file to resolve current vulnerabilities
This commit is contained in:
abraunegg 2023-04-17 18:16:42 +10:00
parent 3ef4a27fb7
commit 32061147a4
2 changed files with 5 additions and 4 deletions

View file

@ -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:

View file

@ -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