aboutsummaryrefslogtreecommitdiffstats
path: root/bin/distcenter/distcenterdockerfile
blob: 2378b4b898487cca68bb6af56351c33a0a4afa62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM nexus3.onap.org:10001/onap/aaf/aaf-base-xenial:latest

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 src/sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin && \
   rm -rf src

RUN mkdir -p /distcenter/bin
COPY ./create_ca.sh /distcenter/bin

ADD entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]