summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index f2e56ccc..c6488445 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,11 +22,12 @@ RUN go mod tidy
RUN CGO_ENABLED=0 go build -trimpath -ldflags "$LDFLAGS" -o ./rr ./cmd/rr
RUN ./rr -v
-# Image page: <https://hub.docker.com/_/alpine>
-# https://alpinelinux.org/posts/Alpine-3.13.4-released.html
-# Critical issue with 3.13.3 https://nvd.nist.gov/vuln/detail/CVE-2021-28831
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3
+RUN apk upgrade --update-cache --available && \
+ apk add openssl && \
+ rm -rf /var/cache/apk/*
+
# use same build arguments for image labels
ARG APP_VERSION="undefined"
ARG BUILD_TIME="undefined"