mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-03-12 13:13:06 -07:00
- Remove .gitmodules from .dockerignore so the build loop can discover which directories to compile - Add git to Dockerfile apt installs (needed for git config --file parsing) - Gate git submodule update --init on .git presence, not .gitmodules; the compile loop still runs in Docker since .gitmodules is now present - hashcat skipped in Docker build loop since system hashcat is in PATH Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
701 B
Docker
29 lines
701 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 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN python -m pip install -q uv==0.9.28
|
|
|
|
COPY . /workspace
|
|
|
|
RUN make submodules vendor-assets && uv tool install . && make clean-vendor
|
|
|
|
ENV PATH="${HOME}/.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"]
|