Use Makefile in Docker test image

This commit is contained in:
Justin Bollinger
2026-01-31 23:08:50 -05:00
parent 1b01993a19
commit 60db30eb83
2 changed files with 16 additions and 1 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ WORKDIR /workspace
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
gzip \
@@ -18,7 +19,7 @@ RUN python -m pip install -q uv
COPY . /workspace
RUN uv tool install .
RUN make install
ENV PATH="/root/.local/bin:${PATH}"
ENV HATE_CRACK_SKIP_INIT=1
+14
View File
@@ -0,0 +1,14 @@
.PHONY: all install clean hashcat-utils
all: hashcat-utils
hashcat-utils:
$(MAKE) -C hashcat-utils
install: hashcat-utils
uv tool install .
clean:
-$(MAKE) -C hashcat-utils clean
rm -rf .pytest_cache .ruff_cache build dist *.egg-info
find . -name "__pycache__" -type d -prune -exec rm -rf {} +