X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=sms-service%2Fbin%2Fbuild_sms_image.sh;h=5dead3f0e21d2f5ca54e26dcf23098cb7924504f;hb=172045b5db0618f288b577a9fdbb8ece3208d687;hp=10b5418cebfbe5252c74e6f22e66409d5af039fe;hpb=15f771a0cdada988f44b604b9baa30c8b374cab2;p=aaf%2Fsms.git diff --git a/sms-service/bin/build_sms_image.sh b/sms-service/bin/build_sms_image.sh index 10b5418..5dead3f 100755 --- a/sms-service/bin/build_sms_image.sh +++ b/sms-service/bin/build_sms_image.sh @@ -7,12 +7,13 @@ cd ${DOCKER_BUILD_DIR} BUILD_ARGS="--no-cache" ORG="onap" -VERSION="3.0.0" +VERSION="4.0.0" PROJECT="aaf" IMAGE="sms" DOCKER_REPOSITORY="nexus3.onap.org:10003" IMAGE_NAME="${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/${IMAGE}" TIMESTAMP=$(date +"%Y%m%dT%H%M%S") +DUSER=aaf if [ $HTTP_PROXY ]; then BUILD_ARGS+=" --build-arg HTTP_PROXY=${HTTP_PROXY}" @@ -25,7 +26,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 +40,7 @@ function copy_certificates { } function cleanup { - rm sms + rm sms preload rm aaf-sms.pub rm aaf-sms.pr rm aaf_root_ca.cer