Explorar o código

updated Docker file for slitheen to build OpenSSL version 1.1.0

cecylia %!s(int64=7) %!d(string=hai) anos
pai
achega
805ab17120
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      slitheen-docker/Dockerfile

+ 10 - 0
slitheen-docker/Dockerfile

@@ -1,3 +1,13 @@
 FROM ff_build_bootstrapped
 RUN sudo apt-get update
 RUN sudo apt-get install -y inetutils-ping libssl-dev libpcap0.8-dev ethtool tcpdump valgrind iptables telnet less
+WORKDIR /tmp/
+RUN wget https://www.openssl.org/source/openssl-1.1.0f.tar.gz
+RUN tar xzvf openssl-1.1.0f.tar.gz
+WORKDIR /tmp/openssl-1.1.0f
+RUN ./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'
+RUN make
+RUN sudo make install
+ENV LD_LIBRARY_PATH=/usr/local/lib
+RUN sudo ldconfig
+WORKDIR /home/iang/