Created
July 21, 2023 19:40
-
-
Save xmpf/bb164cc9016447d7d9677f7ebeae43af to your computer and use it in GitHub Desktop.
Dockerfile for rsactftool with neca installed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt update -y && \ | |
apt install -y \ | |
libgmp-dev libmpfr-dev libmpc-dev python3 python3-dev python3-pip gcc musl-dev \ | |
libssl-dev libffi-dev git gcc g++ make cmake git sagemath | |
# install neca | |
RUN git clone --depth 1 https://github.com/jix/neca.git && \ | |
cd neca && \ | |
cmake . && \ | |
make -j2 && \ | |
make install | |
WORKDIR /opt | |
RUN git clone https://github.com/Ganapati/RsaCtfTool.git | |
WORKDIR /opt/RsaCtfTool | |
RUN pip install -r "requirements.txt" | |
WORKDIR /data | |
ENTRYPOINT ["/opt/RsaCtfTool/RsaCtfTool.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment