From 520b0f4128cd23f8880423fe8f88e8ee7a694c52 Mon Sep 17 00:00:00 2001 From: JC Date: Thu, 21 Dec 2017 10:47:56 +0100 Subject: [PATCH] fonctionnel --- Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6b52d2f..c64930d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,23 @@ FROM "ubuntu:17.10" MAINTAINER "Julien Cabillot " + +RUN apt-get -qq update && \ + apt-get -qq --yes install git-core python 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"]