Dockerfile: optimize dnspython using Cython

parent 11bc6756
Pipeline #41264 passed with stage
in 58 seconds
# see ci/Dockerfile
FROM registry.labs.nic.cz/knot/edns-zone-scanner/ci
# build Cythonized version of dnspython for Python 3 to speed operation on big zones
RUN dnf remove --noautoremove python3-dns -y
RUN dnf install python3-Cython /usr/lib/rpm/redhat/redhat-hardened-cc1 python3-devel -y
RUN pip3 install --install-option="--cython-compile" git+https://github.com/rthalley/dnspython.git
# copy scanner files to /usr/local/bin so they are easy to execute
COPY . /usr/local/bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment