aboutsummaryrefslogtreecommitdiffstats
path: root/bin/distcenter/Dockerfile
blob: f79c7ef688e43f01a9a03717b07ef7e083cdf55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 /createca
COPY ./create_ca.sh /createca/
RUN mkdir /dup
RUN mkdir /dup/database
RUN mkdir /dup/database/host_sample
RUN mkdir /dup/bin

RUN cp sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin
RUN cp sshsm/test/integration/samplecaservicecontainer/inittoolfiles/out_parent_public /dup/database/host_sample

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