From 5f530a2bc2214200dede4579afe30a25462135ee Mon Sep 17 00:00:00 2001 From: Brett Jones Date: Tue, 11 Dec 2018 20:28:26 -0600 Subject: [PATCH] fix docker tty flags --- scripts/deploy.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 7699fa96..baf9e521 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -176,12 +176,11 @@ function rebuild_apt_packages() { verify_gpg_key anounce "Rebuilding apt package indexes" docker run \ - --rm \ + --rm -i \ --net=host \ -v "${PROJECT_ROOT}/repos/apt:/work/apt" \ -v "${PROJECT_ROOT}/sonar-agent.key:/work/sonar-agent.key:ro" \ -w /work \ - -ti \ "docker.internal.digitalocean.com/eng-insights/agent-packager-apt" || exit 1 } @@ -189,13 +188,12 @@ function rebuild_yum_packages() { verify_gpg_key anounce "Rebuilding yum package indexes" docker run \ - --rm \ + --rm -i \ --net=host \ -v "${PROJECT_ROOT}/repos/yum:/work/yum" \ -v "${PROJECT_ROOT}/repos/yum-beta:/work/yum-beta" \ -v "${PROJECT_ROOT}/sonar-agent.key:/work/sonar-agent.key:ro" \ -w /work \ - -ti \ "docker.internal.digitalocean.com/eng-insights/agent-packager-yum" || exit 1 }