-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
30 lines (25 loc) · 817 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM centos:7
ENV LINKING_KEY ""
ENV SCANNER_NAME ""
ENV MANAGER_HOST ""
ENV MANAGER_PORT ""
ENV PROXY_HOST ""
ENV PROXY_PORT ""
ENV PROXY_USER ""
ENV PROXY_PASS ""
ENV PROXY_AGENT ""
ENV MONITOR_NETWORKS ""
ENV EXCLUDE_NETWORKS ""
ENV MONITOR_INTERFACE ""
ENV ADMIN_PASS ""
ENV LICENSE ""
COPY nessus.sh /usr/bin/
COPY yum.repo /etc/yum.repos.d/Tenable.repo
COPY gpg.key /etc/pki/rpm-gpg/RPM-GPG-KEY-Tenable
RUN yum -y update \
&& yum -y install nnm \
&& yum -y clean all \
&& chmod 755 /usr/bin/nessus.sh \
&& echo -e "export PATH=$PATH:/opt/nnm/bin" >> /etc/bashrc
EXPOSE 8835
CMD ["/usr/bin/nessus.sh"]