25 lines
735 B
Docker
25 lines
735 B
Docker
FROM "ubuntu:17.10"
|
|
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
|
|
|
RUN apt-get -qq update && \
|
|
apt-get -qq --yes install git-core python bsdmainutils curl python-six && \
|
|
git clone https://github.com/jvehent/cipherscan.git && \
|
|
/cipherscan/cscan.sh -l && \
|
|
apt-get -qq --yes remove --purge git-core && \
|
|
apt-get -qq --yes autoremove --purge && \
|
|
apt-get -qq --yes clean all && \
|
|
rm -rf "/usr/share/doc/"* \
|
|
"/var/cache/"* \
|
|
"/var/lib/apt/lists/"* \
|
|
"/usr/src/"* \
|
|
"/var/cache/"* \
|
|
"/var/log/"{apt/*,dpkg.log} \
|
|
"/var/www/html" \
|
|
"/tmp/"*
|
|
|
|
|
|
WORKDIR /cipherscan
|
|
|
|
ENTRYPOINT ["/cipherscan/cipherscan"]
|
|
CMD ["--help"]
|