diff options
author | Valery Piashchynski <[email protected]> | 2022-03-16 17:09:58 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-03-16 17:09:58 +0100 |
commit | 2ba945a769195c61c6431362f434ef5245c30382 (patch) | |
tree | 31d7cbfbc9505b98d29c9bf4b3ace032402b2cd8 /Dockerfile | |
parent | 1dc35f2de98daf86aeefea438ea5051378c8a0f9 (diff) |
docker: update openssl
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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" |