Fix: 2 low vulnerability busybox issues

This commit is contained in:
Quentin McGaw
2021-11-12 23:04:42 +00:00
parent 82c0f523aa
commit 2d244c08e7

View File

@@ -180,6 +180,8 @@ RUN apk add --no-cache --update -l apk-tools && \
apk del openvpn && \
apk add --no-cache --update openvpn ca-certificates iptables ip6tables unbound tzdata && \
mv /usr/sbin/openvpn /usr/sbin/openvpn2.5 && \
# Fix vulnerability issue
apk add --no-cache --update busybox && \
rm -rf /var/cache/apk/* /etc/unbound/* /usr/sbin/unbound-* /etc/openvpn/*.sh /usr/lib/openvpn/plugins/openvpn-plugin-down-root.so && \
deluser openvpn && \
deluser unbound && \