From 075728b83a6298659442e6aad00de708fb498509 Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 23 Dec 2021 16:40:45 +0200 Subject: [PATCH] dvwa --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index eb2e6d8..0fe5926 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -141,7 +141,6 @@ if [ -d "$Wdir/project" ]; then cat << EOF > $Wdir/Dockerfile FROM $IMAGE_origin AS builder # -ARG DEF_ALPINE_VERSION=$IMAGE_origin ARG DEF_USERNAME=root USER \${DEF_USERNAME} WORKDIR /tmp/build/ @@ -150,10 +149,7 @@ WORKDIR /tmp/build/ RUN curl -fL https://downloads.volatilityfoundation.org/volatility3/symbols/windows.zip -o windows.zip && \ unzip windows.zip -RUN apk --purge del \ - .build - -FROM \${DEF_ALPINE_VERSION} +FROM $IMAGE_origin ARG DEF_USERNAME=root ARG DEF_INSTALL_PREFIX=/usr @@ -303,7 +299,6 @@ if [ "$Wdir" == "$HOME" ]; then cat << EOF > $Wdir/Dockerfile FROM $IMAGE_origin AS builder # -ARG DEF_ALPINE_VERSION=$IMAGE_origin ARG DEF_USERNAME=root USER \${DEF_USERNAME} WORKDIR /tmp/build/ @@ -312,10 +307,7 @@ WORKDIR /tmp/build/ RUN curl -fL https://downloads.volatilityfoundation.org/volatility3/symbols/windows.zip -o windows.zip && \ unzip windows.zip -RUN apk --purge del \ - .build - -FROM \${DEF_ALPINE_VERSION} +FROM $IMAGE_origin ARG DEF_USERNAME=root