We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5125314 + 12be3b7 commit 777fc96Copy full SHA for 777fc96
docker-zookeeper/docker/Dockerfile
@@ -135,6 +135,12 @@ RUN chgrp -R 0 ${ZOOKEEPER_HOME} \
135
# Upgrade all tools to avoid vulnerabilities
136
RUN set -x && apk upgrade --no-cache --available
137
138
+# Upgrade tools from edge to avoid vulnerabilities
139
+RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories \
140
+ && echo "https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
141
+ && apk add --update --upgrade --no-cache \
142
+ pcre2
143
+
144
USER 1000:0
145
WORKDIR ${ZOOKEEPER_HOME}
146
0 commit comments