Last active
August 29, 2022 12:13
-
-
Save nariaki3551/a1cc7a148580bf0f027e6cd95d3d322e to your computer and use it in GitHub Desktop.
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:20.04 | |
ENV HOME /svp_generator | |
WORKDIR ${HOME} | |
RUN apt-get update -y | |
RUN apt-get install -y sudo | |
RUN apt-get install -y tzdata | |
RUN apt-get install -y build-essential | |
RUN apt-get install -y wget | |
RUN apt-get install -y libgmp3-dev | |
RUN apt-get install -y zip | |
# install NTL version 9.4 | |
RUN wget https://libntl.org/ntl-9.4.0.tar.gz | |
RUN tar -xf ntl-9.4.0.tar.gz | |
RUN cd ntl-9.4.0/src && ./configure && make -j $(nproc) && sudo make install | |
# download SVP Challenge generator | |
RUN wget https://www.latticechallenge.org/svp-challenge/download/generator.zip | |
RUN unzip generator.zip | |
RUN make generate_random |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment