浏览代码

updated Docker file for slitheen to build OpenSSL version 1.1.0

cecylia 7 年之前
父节点
当前提交
805ab17120
共有 1 个文件被更改,包括 10 次插入0 次删除
  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/