diff --git a/Dockerfile b/Dockerfile index d177d43..8bbd480 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ FROM ubuntu:18.04 LABEL maintainer="Julien Cabillot " +# hadolint ignore=DL3008,SC3009 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} && \ + apt-get -qq --no-install-recommends --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} && \ @@ -15,7 +16,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ /usr/src/* \ /var/cache/* \ /var/lib/apt/lists/* \ - /var/log/{apt/*,dpkg.log} \ + /var/log/apt \ + /var/log/dpkg.log \ /tmp/* ENTRYPOINT [ "/cipherscan/cipherscan" ]