summaryrefslogtreecommitdiffstats
path: root/sms-service/bin/build_quorum_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sms-service/bin/build_quorum_image.sh')
-rwxr-xr-xsms-service/bin/build_quorum_image.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/sms-service/bin/build_quorum_image.sh b/sms-service/bin/build_quorum_image.sh
index 4691067..b26accf 100755
--- a/sms-service/bin/build_quorum_image.sh
+++ b/sms-service/bin/build_quorum_image.sh
@@ -27,8 +27,13 @@ function generate_binary {
cp ../target/quorumclient .
}
-function remove_binary {
+function copy_certificates {
+ cp ../src/sms/auth/aaf_root_ca.cer .
+}
+
+function cleanup {
rm quorumclient
+ rm aaf_root_ca.cer
}
function build_image {
@@ -51,6 +56,7 @@ function push_image {
}
generate_binary
+copy_certificates
build_image
push_image
-remove_binary \ No newline at end of file
+cleanup \ No newline at end of file