-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed apt installs from Dockerfile.
- Loading branch information
Showing
1 changed file
with
1 addition
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ COPY build.rc /gvm-versions | |
COPY branding/* /branding/ | ||
RUN bash /branding/branding.sh | ||
COPY scripts/* /scripts/ | ||
RUN apt update && apt install libcap2-bin net-tools -y | ||
#RUN apt update && apt install libcap2-bin net-tools -y | ||
# allow openvas to access raw sockets and all kind of network related tasks | ||
RUN setcap cap_net_raw,cap_net_admin+eip /usr/local/sbin/openvas | ||
# allow nmap to send e.g. UDP or TCP SYN probes without root permissions | ||
|
@@ -107,10 +107,7 @@ LABEL maintainer="[email protected]" \ | |
|
||
COPY base.sql.xz /usr/lib/base.sql.xz | ||
COPY var-lib.tar.xz /usr/lib/var-lib.tar.xz | ||
# packages to add to ovasbase | ||
#RUN apt-get update && apt-get -y install libpaho-mqtt-dev python3-paho-mqtt gir1.2-json-1.0 libjson-glib-1.0-0 libjson-glib-1.0-common | ||
COPY scripts/* /scripts/ | ||
RUN apt update && apt -y install libical3 libpaho-mqtt1.3 libradcli4 libssh-gcrypt-4 libhiredis0.14 | ||
# Healthcheck needs be an on image script that will know what service is running and check it. | ||
# Current image function stored in /usr/local/etc/running-as | ||
HEALTHCHECK --interval=300s --start-period=300s --timeout=120s \ | ||
|