mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 08:39:24 +01:00
Clean up after download to reduce image size.
This commit is contained in:
@@ -6,6 +6,7 @@ RUN wget -O /tmp/current.txt http://jeremylong.github.io/DependencyCheck/current
|
|||||||
current=$(cat /tmp/current.txt) && \
|
current=$(cat /tmp/current.txt) && \
|
||||||
wget https://dl.bintray.com/jeremy-long/owasp/dependency-check-$current-release.zip && \
|
wget https://dl.bintray.com/jeremy-long/owasp/dependency-check-$current-release.zip && \
|
||||||
unzip dependency-check-$current-release.zip && \
|
unzip dependency-check-$current-release.zip && \
|
||||||
|
rm dependency-check-$current-release.zip && \
|
||||||
mv dependency-check /usr/share/
|
mv dependency-check /usr/share/
|
||||||
|
|
||||||
RUN useradd -ms /bin/bash dockeruser && \
|
RUN useradd -ms /bin/bash dockeruser && \
|
||||||
|
|||||||
Reference in New Issue
Block a user