File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,10 @@ FROM greenbone/openvas-scanner:unstable
1212RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
1313 mosquitto \
1414 redis \
15+ gcc \
16+ python3-dev \
1517 python3 \
1618 python3-pip \
17- python3-setuptools \
18- python3-packaging \
19- python3-wrapt \
20- python3-cffi \
21- python3-psutil \
22- python3-lxml \
23- python3-defusedxml \
24- python3-redis \
25- python3-gnupg \
26- python3-paho-mqtt \
2719 openssh-server &&\
2820 apt-get remove --purge --auto-remove -y &&\
2921 rm -rf /var/lib/apt/lists/*
@@ -40,7 +32,7 @@ RUN chown gvm:redis /var/run/ospd
4032RUN touch /etc/openvas/openvas_log.conf
4133RUN chown gvm:redis /etc/openvas/openvas_log.conf
4234WORKDIR /usr/local/src/ospd-openvas
43- RUN python3 -m pip install .
35+ RUN python3 -m pip install --break-system-packages .
4436RUN chown gvm:redis /var/log/gvm
4537RUN mkdir /run/mosquitto
4638RUN echo "allow_anonymous true" >> /etc/mosquitto.conf
@@ -66,7 +58,7 @@ RUN mv /usr/local/src/plugins /var/lib/openvas/plugins
6658RUN cp -r /usr/local/src/ospd-openvas/smoketest/data/plugins/* /var/lib/openvas/plugins
6759
6860RUN rm -rf /usr/local/src/ospd-openvas
69- RUN apt-get remove --purge --auto-remove -y python3-pip python3-packaging
61+ RUN apt-get remove --purge --auto-remove -y python3-pip
7062RUN chown -R gvm:redis /var/lib/openvas/plugins/
7163RUN mkdir /run/sshd
7264# make gvm capable of running sshd
You can’t perform that action at this time.
0 commit comments