summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/distcenter/distcenterdockerfile11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/distcenter/distcenterdockerfile b/bin/distcenter/distcenterdockerfile
index c0879ef..2378b4b 100644
--- a/bin/distcenter/distcenterdockerfile
+++ b/bin/distcenter/distcenterdockerfile
@@ -1,13 +1,16 @@
FROM nexus3.onap.org:10001/onap/aaf/aaf-base-xenial:latest
-RUN git clone https://gerrit.onap.org/r/aaf/sshsm
-RUN cd sshsm && \
+RUN mkdir -p /src
+RUN cd src && \
+ git clone https://gerrit.onap.org/r/aaf/sshsm
+RUN cd src && \
+ cd sshsm && \
cd tpm-util && \
cd duplicate && \
make -f sampleMakefile
RUN mkdir -p /dup/bin && \
- cp sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin && \
- rm -rf sshsm
+ cp src/sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin && \
+ rm -rf src
RUN mkdir -p /distcenter/bin
COPY ./create_ca.sh /distcenter/bin