Files
cipherscan/Dockerfile
T
Sagent 4f20ddde90
Docker Build and Push / lint (push) Successful in 9s
Docker Build and Push / lint (pull_request) Successful in 5s
Docker Build and Push / build (pull_request) Successful in 1m34s
Docker Build and Push / build (push) Successful in 1m40s
Docker Build and Push / test (pull_request) Successful in 30s
Docker Build and Push / test (push) Successful in 30s
Docker Build and Push / push (pull_request) Has been skipped
Docker Build and Push / push (push) Successful in 54s
fix: python-six → python3-six (cscan.py runs under python3)
2026-06-09 01:09:48 +00:00

24 lines
911 B
Docker

FROM ubuntu:18.04
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
# hadolint ignore=DL3008,SC3009,SC2086
RUN export DEBIAN_FRONTEND=noninteractive && \
export BUILD_PACKAGES=git-core && \
export RUNTIME_PACKAGES="python python3 bsdmainutils curl python3-six ca-certificates" && \
apt-get -qq update && \
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} && \
apt-get -qq --yes autoremove --purge && \
apt-get -qq --yes clean all && \
rm -rf /usr/share/doc/* \
/usr/src/* \
/var/cache/* \
/var/lib/apt/lists/* \
/var/log/apt \
/var/log/dpkg.log \
/tmp/*
ENTRYPOINT [ "/cipherscan/cipherscan" ]
CMD [ "--help" ]