FROM "ubuntu:18.04" LABEL maintainer="Julien Cabillot " RUN export DEBIAN_FRONTEND="noninteractive" && \ export BUILD_PACKAGES="git-core" && \ export RUNTIME_PACKAGES="python bsdmainutils curl python-six" && \ apt-get -qq update && \ apt-get -qq --yes install ${BUILD_PACKAGES} ${RUNTIME_PACKAGES} && \ git clone "https://github.com/jvehent/cipherscan.git" && \ /cipherscan/cscan.sh -l && \ apt-get -qq --yes remove --purge ${BUILD_PACKAGES} && \ 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"]