-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathossl-speed-dockerfile
16 lines (16 loc) · 1.02 KB
/
ossl-speed-dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM ubuntu:20.04
RUN apt update -y
RUN apt upgrade -y
RUN apt update -y
RUN DEBIAN_FRONTEND="noninteractive" TZ="Canada/Toronto" apt install ssh vim git pkg-config autoconf automake build-essential libnghttp2-dev libtool libtool-bin libuv1-dev libcap-dev libssl-dev iproute2 -y
RUN DEBIAN_FRONTEND="noninteractive" TZ="Canada/Toronto" apt install astyle cmake gcc ninja-build libssl-dev python3-pytest python3-pytest-xdist unzip xsltproc doxygen graphviz -y
RUN git clone --branch OQS-OpenSSL_1_1_1-stable https://github.com/Martyrshot/openssl.git /oqs-openssl-source
RUN git clone https://github.com/open-quantum-safe/liboqs.git
RUN cd liboqs && git checkout af76ca3b1f2fbc1f4f0967595f3bb07692fb3d82
RUN mkdir liboqs/build
RUN cd liboqs/build && cmake -GNinja -DCMAKE_INSTALL_PREFIX=/oqs-openssl-source/oqs ..
RUN cd liboqs/build && ninja
RUN cd liboqs/build && ninja install
RUN cd oqs-openssl-source && ./Configure no-shared linux-x86_64 --prefix=/oqs-openssl -lm
RUN cd oqs-openssl-source && make
RUN cd oqs-openssl-source && make install