Clean up after download to reduce image size.

This commit is contained in:
janpapenbrock
2017-05-06 10:03:24 +02:00
parent 13d781d2b1
commit 8edf65186f

View File

@@ -6,6 +6,7 @@ RUN wget -O /tmp/current.txt http://jeremylong.github.io/DependencyCheck/current
current=$(cat /tmp/current.txt) && \
wget https://dl.bintray.com/jeremy-long/owasp/dependency-check-$current-release.zip && \
unzip dependency-check-$current-release.zip && \
rm dependency-check-$current-release.zip && \
mv dependency-check /usr/share/
RUN useradd -ms /bin/bash dockeruser && \