version added
This commit is contained in:
parent
aba31f8e05
commit
4b70193d09
2 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ RUN \
|
|||
apt-get update && \
|
||||
apt-get install -y wget php5-gd && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
wget https://github.com/RandomStorm/DVWA/archive/master.tar.gz -O dvwa.tar.gz && \
|
||||
wget https://github.com/ethicalhack3r/DVWA/archive/v1.9.zip -O dvwa.tar.gz && \
|
||||
tar -xf dvwa.tar.gz && \
|
||||
cp -r DVWA-master/* /app/ && \
|
||||
rm -rf DVWA-master && \
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ Just a DVWA container for docker
|
|||
|
||||
## Build
|
||||
|
||||
docker build -t dvwa .
|
||||
docker build -t dvwa:1.9 .
|
||||
|
||||
## Run
|
||||
|
||||
docker run -d -p 80:80 -p 3306:3306 dvwa
|
||||
docker run -d -p 80:80 -p 3306:3306 dvwa:1.9
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue