Skip to content

Commit 095ee75

Browse files
fix(docker): upgrade alpine packages to address HIGH severity CVEs (#10830)
1 parent 5717343 commit 095ee75

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

Dockerfile

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# We don't declare them here — take a look at our docs.
33
# https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md
44

5-
FROM nginx:1.29.8-alpine
5+
FROM nginx:1.30.0-alpine
66

77
LABEL maintainer="vladimir.gorej@gmail.com" \
88
org.opencontainers.image.authors="vladimir.gorej@gmail.com" \
@@ -11,7 +11,19 @@ LABEL maintainer="vladimir.gorej@gmail.com" \
1111
org.opencontainers.image.description="SwaggerUI Docker image" \
1212
org.opencontainers.image.licenses="Apache-2.0"
1313

14-
RUN apk add --update-cache --no-cache "nodejs" "libxml2>=2.13.9-r0" "libexpat>=2.7.2-r0" "libxslt>=1.1.42-r2" "xz-libs>=5.6.3-r1" "c-ares>=1.34.5-r0" "libpng>=1.6.56-r0" "zlib>=1.3.2-r0"
14+
RUN apk add --update-cache --no-cache \
15+
"nodejs" \
16+
"libxml2>=2.13.9-r0" \
17+
"libexpat>=2.7.2-r0" \
18+
"libxslt>=1.1.42-r2" \
19+
"xz-libs>=5.6.3-r1" \
20+
"c-ares>=1.34.5-r0" \
21+
"libpng>=1.6.56-r0" \
22+
"zlib>=1.3.2-r0" \
23+
"libcrypto3>=3.5.6-r0" \
24+
"libssl3>=3.5.6-r0" \
25+
"musl>=1.2.5-r23" \
26+
"musl-utils>=1.2.5-r23"
1527

1628
LABEL maintainer="char0n"
1729

0 commit comments

Comments
 (0)