From d21cae347c5227247491851353a95d3e6d829d79 Mon Sep 17 00:00:00 2001 From: huan_kong Date: Thu, 11 Jul 2024 14:12:47 +0800 Subject: [PATCH] =?UTF-8?q?resolve=20the=20CVE-2024-5535=E2=81=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 38979f262..865dfe52b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,15 @@ -ARG ALPINE_VERSION=3.19 +ARG ALPINE_VERSION=3.20 FROM alpine:${ALPINE_VERSION} LABEL Maintainer="Tim de Pater " LABEL Description="Lightweight container with Nginx 1.24 & PHP 8.3 based on Alpine Linux." # Setup document root WORKDIR /var/www/html +# update the openssl package +# ref: https://github.com/alpinelinux/docker-alpine/issues/405 +# remove when 3.20.2 published +RUN apk add --no-cache openssl + # Install packages and remove default server definition RUN apk add --no-cache \ curl \