forked from 7x4uk4/AWVS12_Docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
21 lines (17 loc) · 841 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# AWVS_12.0.190902105_x64 Dockerfile by Coco413
FROM ubuntu:16.04
COPY ./sources.list /etc/apt/sources.list
RUN apt-get update \
&& apt-get -y install libxdamage1 libgtk-3-0 libasound2 libnss3 libxss1 libx11-xcb1 sudo bzip2 wget expect apt-utils net-tools \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /home
COPY ./acunetix_12.0.190902105_x64.sh .
RUN chmod u+x acunetix_12.0.190902105_x64.sh
RUN sh -c '/bin/echo -e "\nyes\nubuntu\[email protected]\nDota123!!!\nDota123!!!\n"| /home/acunetix_12.0.190902105_x64.sh'
COPY ./patch /home/acunetix/.acunetix/v_190902105/scanner
COPY ./patch.dat /home/acunetix/.acunetix/v_190902105/scanner
COPY ./tpls-bundle.js /home/acunetix/.acunetix/v_190902105/ui/scripts
RUN chmod u+x /home/acunetix/.acunetix/v_190902105/scanner/patch
USER acunetix
EXPOSE 3443
CMD /home/acunetix/.acunetix/start.sh