Skip to content

Commit dfd1ea4

Browse files
PhBouzidfibu0125
andauthored
fix: resolve vulnerabilities (#111)
* fix: upgrade alpine upgrade dependencies * fix: upgrade third-parties * fix: upgrade third-parties * fix: resolve linters * fix: resolve linters * fix: rollback logback-core version. * fix: upgrade alpine in backup-daemon, zookeeper, integration-tests, monitoring. * fix: upgrade alpine in backup-daemon. --------- Co-authored-by: fibu0125 <filipp.buzid@netcracker.com>
1 parent 94aa7bf commit dfd1ea4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backup-daemon/docker/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ RUN set -x \
2222
# Upgrade all tools to avoid vulnerabilities
2323
RUN set -x && apk upgrade --available
2424

25+
# Upgrade tools from edge to avoid vulnerabilities
26+
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories \
27+
&& echo "https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
28+
&& apk add --update --no-cache --upgrade \
29+
pcre2 curl gnutls libcurl jq
30+
2531
RUN chmod +x ${ZOOKEEPER_HOME}/scripts/*.py
2632
RUN chmod +x ${ZOOKEEPER_HOME}/sh_scripts/list_instances_in_vault_command.sh
2733

0 commit comments

Comments
 (0)