change to tty for docker exec

there is no TTY device for Jenkins Job
change to tty option for docker exec instead

Issue-ID: POLICY-2541
Change-Id: I4b33332e53ff2119e3e2846d96c8b3309a0420d4
Signed-off-by: Taka Cho <takamune.cho@att.com>
diff --git a/plans/policy/distribution/setup.sh b/plans/policy/distribution/setup.sh
index d1a0863..52573b5 100644
--- a/plans/policy/distribution/setup.sh
+++ b/plans/policy/distribution/setup.sh
@@ -72,8 +72,8 @@
 docker-compose -f ${SCRIPT_DIR}/docker-compose-distribution.yml run --rm start_dependencies
 
 #Configure the database
-docker exec -it mariadb  chmod +x /docker-entrypoint-initdb.d/db.sh
-docker exec -it mariadb  /docker-entrypoint-initdb.d/db.sh
+docker exec --tty mariadb  chmod +x /docker-entrypoint-initdb.d/db.sh
+docker exec --tty mariadb  /docker-entrypoint-initdb.d/db.sh
 
 # now bring everything else up
 docker-compose -f ${SCRIPT_DIR}/docker-compose-distribution.yml run --rm start_all