Files

25 lines
953 B
Docker
Raw Permalink Normal View History

FROM ubuntu:26.04
2018-05-06 16:27:10 +00:00
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
2017-12-21 10:47:56 +01:00
2026-06-08 20:30:00 -04:00
# hadolint ignore=DL3008,SC3009,SC2086
2026-06-08 20:21:40 -04:00
RUN export DEBIAN_FRONTEND=noninteractive && \
export BUILD_PACKAGES=git-core && \
export RUNTIME_PACKAGES="python3 bsdmainutils curl python3-six ca-certificates" && \
apt-get -qq update && \
2026-06-08 20:26:47 -04:00
apt-get -qq --no-install-recommends --yes install ${BUILD_PACKAGES} ${RUNTIME_PACKAGES} && \
ln -sf /usr/bin/python3 /usr/bin/python && \
2026-06-08 20:21:40 -04:00
git clone https://github.com/jvehent/cipherscan.git && \
2017-12-21 10:47:56 +01:00
/cipherscan/cscan.sh -l && \
apt-get -qq --yes remove --purge ${BUILD_PACKAGES} && \
2017-12-21 10:47:56 +01:00
apt-get -qq --yes autoremove --purge && \
apt-get -qq --yes clean all && \
2026-06-08 20:21:40 -04:00
rm -rf /usr/share/doc/* \
/usr/src/* \
/var/cache/* \
/var/lib/apt/lists/* \
2026-06-08 20:26:47 -04:00
/var/log/apt \
/var/log/dpkg.log \
2026-06-08 20:21:40 -04:00
/tmp/*
2018-05-14 13:55:46 -04:00
2026-06-08 20:21:40 -04:00
ENTRYPOINT [ "/cipherscan/cipherscan" ]
CMD [ "--help" ]