summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 4c11732..286fc8f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,9 +1,10 @@
FROM vulnerables/web-dvwa
-ENV DEBIAN_FRONTEND noninteractive
+ENV DEBIAN_FRONTEND=noninteractive
# stretch est passé des dépôts officiels aux archives debian
RUN sed -i /security/d /etc/apt/sources.list
RUN sed -i /stretch-updates/d /etc/apt/sources.list
RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list
+RUN sed -i 's/^deb/deb [trusted=yes]/' /etc/apt/sources.list
RUN apt update
# on installe wget et netcat pour les hacks
RUN apt install -y wget netcat