Skip to content

Commit 40bb63a

Browse files
authored
Merge pull request #2531 from Altinity/25.8-stable-alpine-cve-fix
Stable 25.8 - Update all apk packages
2 parents 5a071f8 + 362d143 commit 40bb63a

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎docker/keeper/Dockerfile‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN arch=${TARGETARCH:-amd64} \
1616
esac
1717

1818

19-
FROM alpine:3.21
19+
FROM alpine
2020

2121
ENV LANG=en_US.UTF-8 \
2222
LANGUAGE=en_US:en \
@@ -84,8 +84,7 @@ RUN clickhouse-keeper --version \
8484
&& chown root:clickhouse "${DEFAULT_LOG_DIR}" \
8585
&& chmod ugo+Xrw -R "${DEFAULT_DATA_DIR}" "${DEFAULT_LOG_DIR}" "${DEFAULT_CONFIG_DIR}"
8686

87-
RUN apk update
88-
RUN apk add --upgrade libssl3 libcrypto3
87+
RUN apk update && apk upgrade --no-cache
8988

9089
# /var/lib/clickhouse is necessary due to the current default configuration for Keeper
9190
VOLUME "${DEFAULT_DATA_DIR}" /var/lib/clickhouse

‎docker/server/Dockerfile.alpine‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ RUN mkdir -p \
9191
&& chown root:clickhouse "${DEFAULT_LOG_DIR}" \
9292
&& chmod ugo+Xrw -R "${DEFAULT_DATA_DIR}" "${DEFAULT_LOG_DIR}" "${DEFAULT_CLIENT_CONFIG_DIR}" "${DEFAULT_SERVER_CONFIG_DIR}"
9393

94-
RUN apk update
95-
RUN apk add --upgrade libssl3 libcrypto3
94+
RUN apk update && apk upgrade --no-cache
9695

9796
VOLUME "${DEFAULT_DATA_DIR}"
9897
EXPOSE 9000 8123 9009

0 commit comments

Comments
 (0)