mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-29 05:12:14 +02:00
added ruby and mono (see issue #953)
This commit is contained in:
@@ -7,8 +7,11 @@ ENV version_url=https://jeremylong.github.io/DependencyCheck/current.txt
|
|||||||
ENV download_url=https://dl.bintray.com/jeremy-long/owasp
|
ENV download_url=https://dl.bintray.com/jeremy-long/owasp
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y wget && \
|
apt-get install -y --no-install-recommends wget ruby mono-runtime && \
|
||||||
wget -O /tmp/current.txt ${version_url} && \
|
gem install bundle-audit && \
|
||||||
|
gem cleanup
|
||||||
|
|
||||||
|
RUN wget -O /tmp/current.txt ${version_url} && \
|
||||||
version=$(cat /tmp/current.txt) && \
|
version=$(cat /tmp/current.txt) && \
|
||||||
file="dependency-check-${version}-release.zip" && \
|
file="dependency-check-${version}-release.zip" && \
|
||||||
wget "$download_url/$file" && \
|
wget "$download_url/$file" && \
|
||||||
@@ -21,7 +24,7 @@ RUN apt-get update && \
|
|||||||
chown -R ${user}:${user} /report && \
|
chown -R ${user}:${user} /report && \
|
||||||
apt-get remove --purge -y wget && \
|
apt-get remove --purge -y wget && \
|
||||||
apt-get autoremove -y && \
|
apt-get autoremove -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/* /tmp/*
|
||||||
|
|
||||||
USER ${user}
|
USER ${user}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user