aboutsummaryrefslogtreecommitdiffstats
path: root/bin/base
diff options
context:
space:
mode:
authorManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2019-04-09 10:43:03 -0700
committerManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2019-04-09 11:10:51 -0700
commit7b9cde2e1d2db855620e033a622d801170872683 (patch)
treec14924c2bc2108edb27870e6aa26b38f92858a88 /bin/base
parent1e05b5d25d1359555d432c9c8670f73cbb2bb116 (diff)
Fix nightly build failure
Add ssl library path to ldconfig and import build Change-Id: Iad92bc261747bdf2e8356da1a4e46df6f36fa93a Issue-ID: AAF-764 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Diffstat (limited to 'bin/base')
-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