diff options
Diffstat (limited to 'sms-service/bin')
-rwxr-xr-x | sms-service/bin/build_sms_image.sh | 6 | ||||
-rw-r--r-- | sms-service/bin/smsdockerfile | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/sms-service/bin/build_sms_image.sh b/sms-service/bin/build_sms_image.sh index 10b5418..f5beb4d 100755 --- a/sms-service/bin/build_sms_image.sh +++ b/sms-service/bin/build_sms_image.sh @@ -25,7 +25,11 @@ function generate_binary { pushd ../src/sms make build popd + pushd ../src/preload + make build + popd cp ../target/sms . + cp ../target/preload . } function copy_certificates { @@ -35,7 +39,7 @@ function copy_certificates { } function cleanup { - rm sms + rm sms preload rm aaf-sms.pub rm aaf-sms.pr rm aaf_root_ca.cer diff --git a/sms-service/bin/smsdockerfile b/sms-service/bin/smsdockerfile index 9b7fb9a..cdb8494 100644 --- a/sms-service/bin/smsdockerfile +++ b/sms-service/bin/smsdockerfile @@ -12,6 +12,8 @@ ADD aaf-sms.pub /sms/certs/aaf-sms.pub ADD aaf-sms.pr /sms/certs/aaf-sms.pr ADD sms /sms/bin/sms RUN chmod +x /sms/bin/sms +ADD preload /sms/bin/preload +RUN chmod +x /sms/bin/preload WORKDIR /sms ENTRYPOINT ["/sms/bin/sms"] |