aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/base/xenialdockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/base/xenialdockerfile b/bin/base/xenialdockerfile
index ec9d310..156d7e4 100644
--- a/bin/base/xenialdockerfile
+++ b/bin/base/xenialdockerfile
@@ -37,6 +37,9 @@ RUN wget https://www.openssl.org/source/openssl-1.1.0.tar.gz && \
make install
RUN apt-get -y install libgcrypt20-dev
+RUN echo "/usr/local/ssl/lib" > /etc/ld.so.conf.d/ssl.conf && \
+ ldconfig
+
RUN apt-get -y install valgrind
RUN wget https://github.com/tpm2-software/tpm2-tss/releases/download/2.0.0/tpm2-tss-2.0.0.tar.gz
RUN tar -xvf tpm2-tss-2.0.0.tar.gz
@@ -95,6 +98,7 @@ RUN cd sshsm && \
RUN cd sshsm && \
cd tpm-util && \
cd import && \
+ export LDFLAGS="-L/usr/local/ssl/lib" && \
make -f sampleMakefile
RUN mkdir tpm-util