File tree Expand file tree Collapse file tree
integrations/malware_tools_analyzers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,10 +60,12 @@ RUN if [[ $TARGETARCH == "amd64" ]]; then \
6060# Build guelfo's PEFrame
6161WORKDIR ${PROJECT_PATH}/peframe
6262COPY requirements/peframe-requirements.txt ./
63+ # peframe-ds 6.1.0 uses array.tostring() which was removed in Python 3.9+, patch it after install
6364RUN python3 -m venv venv \
6465 && . venv/bin/activate \
6566 && pip3 install --no-cache-dir --upgrade pip \
66- && pip3 install --no-cache-dir -r peframe-requirements.txt --no-cache-dir
67+ && pip3 install --no-cache-dir -r peframe-requirements.txt --no-cache-dir \
68+ && sed -i 's/\. tostring()/\. tobytes()/g' venv/lib/python3.*/site-packages/peframe/modules/features.py
6769
6870# Install guelfo's artifacts
6971# there is no version management on this project so we just pull the most recent changes
You can’t perform that action at this time.
0 commit comments