summaryrefslogtreecommitdiffstats
path: root/sms-service/bin/make_build_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sms-service/bin/make_build_image.sh')
-rwxr-xr-xsms-service/bin/make_build_image.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/sms-service/bin/make_build_image.sh b/sms-service/bin/make_build_image.sh
new file mode 100755
index 0000000..5281f42
--- /dev/null
+++ b/sms-service/bin/make_build_image.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+DIRNAME=`dirname $0`
+DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd`
+cd ${DOCKER_BUILD_DIR}
+
+(cd ../src/sms && make build)
+cp ../target/sms .
+
+sudo ./build_image.sh