Skip to content

Commit

Permalink
Update to Alpine Docker file to resolve current vulnerabilities (#2384)
Browse files Browse the repository at this point in the history
* Update to Alpine Docker file to resolve current vulnerabilities
  • Loading branch information
abraunegg authored Apr 17, 2023
1 parent ae33616 commit 56149c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/docker/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down

0 comments on commit 56149c2

Please sign in to comment.