mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-06-12 19:11:46 -07:00
3aa7138c9c
- Add transmission-cli package (provides transmission-remote binary) - Fix SETUPTOOLS_SCM_PRETEND_VERSION placement before RUN make install - Fix PATH to use /root/.local/bin and include venv bin - Switch TransmissionSession.add() from watch-dir polling to transmission-remote -a - Remove --no-auth flag (unrecognized in transmission-remote 4.1.0) - Add test_docker_torrent_downloads_wordlists E2E test Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
32 lines
733 B
Docker
32 lines
733 B
Docker
FROM python:3.13-slim
|
|
|
|
WORKDIR /workspace
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
ca-certificates \
|
|
curl \
|
|
git \
|
|
gzip \
|
|
hashcat \
|
|
ocl-icd-libopencl1 \
|
|
pocl-opencl-icd \
|
|
p7zip-full \
|
|
transmission-cli \
|
|
transmission-daemon \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN python -m pip install -q uv==0.9.28
|
|
|
|
COPY . /workspace
|
|
|
|
ENV SETUPTOOLS_SCM_PRETEND_VERSION=0.0.0
|
|
|
|
RUN make install
|
|
|
|
ENV PATH="/workspace/.venv/bin:/root/.local/bin:${PATH}"
|
|
ENV HATE_CRACK_SKIP_INIT=1
|
|
|
|
CMD ["bash", "-lc", "${HOME}/.local/bin/hate_crack --help >/tmp/hc_help.txt && ./hate_crack.py --help >/tmp/hc_script_help.txt"]
|