version update to 1.9

This commit is contained in:
OPSXCQ 2016-08-09 17:52:46 -04:00
parent 4b70193d09
commit 3234fa2ece
No known key found for this signature in database
GPG Key ID: 9AD730FE9CDE5661
2 changed files with 6 additions and 7 deletions

View File

@ -6,13 +6,12 @@ MAINTAINER Rafael <rafael@thestorm.com.br>)
RUN \
rm -rf /app/* && \
apt-get update && \
apt-get install -y wget php5-gd && \
apt-get install -y wget php5-gd unzip && \
rm -rf /var/lib/apt/lists/* && \
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 && \
rm -rf dvwa.tar.gz
wget https://github.com/ethicalhack3r/DVWA/archive/v1.9.zip -O dvwa.zip && \
unzip dvwa.zip && \
cp -r DVWA-1.9/* /app/ && \
rm -rf DVWA-1.9 dvwa.zip
# Fix some issues about default lamp installation
RUN \

View File

@ -8,4 +8,4 @@ docker build -t dvwa:1.9 .
## Run
docker run -d -p 80:80 -p 3306:3306 dvwa:1.9
docker run -d --name dvwa -p 80:80 -p 3306:3306 dvwa:1.9 || docker start dvwa