This commit is contained in:
Cabillot Julien 2018-05-18 15:13:38 -04:00
parent fb3823294f
commit d43045e048

View File

@ -1,7 +1,6 @@
FROM "ubuntu:18.04" FROM "ubuntu:18.04"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>" LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
RUN export DEBIAN_FRONTEND="noninteractive" && \ RUN export DEBIAN_FRONTEND="noninteractive" && \
export BUILD_PACKAGES="git-core" && \ export BUILD_PACKAGES="git-core" && \
export RUNTIME_PACKAGES="python bsdmainutils curl python-six" && \ export RUNTIME_PACKAGES="python bsdmainutils curl python-six" && \
@ -13,16 +12,12 @@ RUN export DEBIAN_FRONTEND="noninteractive" && \
apt-get -qq --yes autoremove --purge && \ apt-get -qq --yes autoremove --purge && \
apt-get -qq --yes clean all && \ apt-get -qq --yes clean all && \
rm -rf "/usr/share/doc/"* \ rm -rf "/usr/share/doc/"* \
"/var/cache/"* \
"/var/lib/apt/lists/"* \
"/usr/src/"* \ "/usr/src/"* \
"/var/cache/"* \ "/var/cache/"* \
"/var/lib/apt/lists/"* \
"/var/log/"{apt/*,dpkg.log} \ "/var/log/"{apt/*,dpkg.log} \
"/var/www/html" \
"/tmp/"* "/tmp/"*
WORKDIR "/cipherscan"
ENTRYPOINT ["/cipherscan/cipherscan"] ENTRYPOINT ["/cipherscan/cipherscan"]
CMD ["--help"] CMD ["--help"]