Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
FROM docker.io/python:3.13.11-slim-bookworm

ARG APP_HOME=/app

ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1

RUN apt-get update && apt-get install --no-install-recommends -y \
build-essential \
# ssdeep / fuzzy hashing dependencies.
libfuzzy-dev \
# actual ssdeep binary incase you want a CLI option
ssdeep

WORKDIR ${APP_HOME}

RUN pip install --upgrade \
pip \
"setuptools<70" \
wheel

# Set constraint to ensure ssdeep build uses compatible setuptools.
ENV PIP_CONSTRAINT=/tmp/constraints.txt
RUN echo "setuptools<70" > /tmp/constraints.txt

RUN pip install ssdeep==3.4

COPY ./compare_ssdeep_ppdeep.py .

# Pick a ppdeep version...

# 1) Current 20251115 ppdeep version
RUN pip install ppdeep==20251115

# 2) Updated ppdeep PR
# COPY ./ppdeep.py .
# COPY ./setup.py .
# COPY ./README.md .
# RUN python setup.py install
Loading