Update to Alpine Docker file to resolve current vulnerabilities (#2384)

* Update to Alpine Docker file to resolve current vulnerabilities
This commit is contained in:
abraunegg 2023-04-18 08:54:10 +10:00 committed by GitHub
parent ae33616d0b
commit 56149c285c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
# -*-Dockerfile-*-
ARG ALPINE_VERSION=3.17
ARG GO_VERSION=1.19
ARG GO_VERSION=1.20
ARG GOSU_VERSION=1.14
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder-gosu
@ -23,6 +23,9 @@ RUN autoreconf -fiv \
FROM alpine:${ALPINE_VERSION}
RUN apk add --upgrade apk-tools \
&& apk upgrade --available
RUN apk add --update --no-cache bash libcurl libgcc shadow sqlite-libs ldc-runtime \
&& mkdir -p /onedrive/conf /onedrive/data