mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-05 07:23:21 +02:00
Update to Alpine Docker file to resolve current vulnerabilities (#2384)
* Update to Alpine Docker file to resolve current vulnerabilities
This commit is contained in:
parent
ae33616d0b
commit
56149c285c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue