| 1 |
FROM python:3.13-slim |
| 2 |
|
| 3 |
LABEL maintainer="Szilárd Pfeiffer <[email protected]>" |
| 4 |
|
| 5 |
SHELL ["/bin/bash", "-o", "pipefail", "-c"] |
| 6 |
|
| 7 |
ADD . /usr/src/cryptolyzer |
| 8 |
|
| 9 |
RUN apt-get update && apt-get install --no-install-recommends -y git-core \ |
| 10 |
&& pip3 install --no-cache-dir /usr/src/cryptolyzer \ |
| 11 |
&& pip3 install --no-cache-dir --force-reinstall /usr/src/cryptolyzer/submodules/cryptoparser \ |
| 12 |
&& pip3 install --no-cache-dir --force-reinstall /usr/src/cryptolyzer/submodules/cryptoparser/submodules/cryptodatahub |
| 13 |
|
| 14 |
USER nobody |
| 15 |
|
| 16 |
ENTRYPOINT ["cryptolyze"] |
| 17 |
CMD ["--help"] |