summaryrefslogtreecommitdiffstats
path: root/bin/distcenter/Dockerfile
blob: cb6f0004c83298aa527550f40244e7df09e71959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM rmannfv/aaf-base:openssl_1.1.0

RUN git clone https://gerrit.onap.org/r/aaf/sshsm
RUN cd sshsm && \
  cd tpm-util && \
  cd duplicate && \
  make -f sampleMakefile

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

RUN cp sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin

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