Skip to content

Commit 777fc96

Browse files
authored
Merge pull request #68 from Netcracker/bugfix/edge_alpine
Use edge alpine for pcre2
2 parents 5125314 + 12be3b7 commit 777fc96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-zookeeper/docker/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ RUN chgrp -R 0 ${ZOOKEEPER_HOME} \
135135
# Upgrade all tools to avoid vulnerabilities
136136
RUN set -x && apk upgrade --no-cache --available
137137

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+
138144
USER 1000:0
139145
WORKDIR ${ZOOKEEPER_HOME}
140146

0 commit comments

Comments
 (0)