diff options
-rwxr-xr-x | sms-service/bin/build_sms_image.sh | 6 | ||||
-rw-r--r-- | sms-service/bin/smsdockerfile | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sms-service/bin/build_sms_image.sh b/sms-service/bin/build_sms_image.sh index cd3663f..46685b6 100755 --- a/sms-service/bin/build_sms_image.sh +++ b/sms-service/bin/build_sms_image.sh @@ -28,6 +28,7 @@ function generate_binary { } function copy_certificates { + cp ../src/sms/auth/aaf_root_ca.cer . cp ../src/sms/auth/aaf-sms.api.simpledemo.onap.org.pem . cp ../src/sms/auth/aaf-sms.api.simpledemo.onap.org.pr . } @@ -35,7 +36,8 @@ function copy_certificates { function cleanup { rm sms rm aaf-sms.api.simpledemo.onap.org.pem - rm af-sms.api.simpledemo.onap.org.pr + rm aaf-sms.api.simpledemo.onap.org.pr + rm aaf_root_ca.cer } function build_image { @@ -61,4 +63,4 @@ generate_binary copy_certificates build_image push_image -cleanup
\ No newline at end of file +cleanup diff --git a/sms-service/bin/smsdockerfile b/sms-service/bin/smsdockerfile index 50704b2..14327dc 100644 --- a/sms-service/bin/smsdockerfile +++ b/sms-service/bin/smsdockerfile @@ -7,6 +7,7 @@ LABEL maintainer="vamshi krishna <vn00480215@techmahindra.com>" EXPOSE 10443 RUN mkdir -p /sms/auth +ADD aaf_root_ca.cer /sms/cert/aaf_root_ca.cer ADD aaf-sms.api.simpledemo.onap.org.pem /sms/cert/aaf-sms.api.simpledemo.onap.org.pem ADD aaf-sms.api.simpledemo.onap.org.pr /sms/cert/aaf-sms.api.simpledemo.onap.org.pr ADD sms /sms/bin/sms |