Skip to content

Commit

Permalink
fix docker tty flags
Browse files Browse the repository at this point in the history
  • Loading branch information
blockloop committed Dec 12, 2018
1 parent 173ec60 commit 5f530a2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,26 +176,24 @@ 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
}

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
}

Expand Down

0 comments on commit 5f530a2

Please sign in to comment.