docker-vulnerable-dvwa/Dockerfile

21 lines
389 B
Docker
Raw Normal View History

2016-12-02 19:19:11 +00:00
FROM debian:jessie
2016-08-09 14:40:03 +00:00
2016-12-02 19:19:11 +00:00
MAINTAINER opsxcq <opsxcq@thestorm.com.br>
2016-08-09 14:40:03 +00:00
2016-12-02 19:19:11 +00:00
RUN apt-get update && \
apt-get upgrapde -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
package1 \
package2 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
2016-08-09 14:40:03 +00:00
2016-12-02 19:19:11 +00:00
RUN useradd --system --uid 666 -M --shell /usr/sbin/nologin vulnerable
2016-08-09 14:40:03 +00:00
2016-12-02 19:19:11 +00:00
USER vulnerable
2016-08-09 14:40:03 +00:00
2016-12-02 19:19:11 +00:00
EXPOSE 80
2016-08-09 14:40:03 +00:00
2016-12-02 19:19:11 +00:00
VOLUME /data
WORKDIR /data