diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index baaf853ca..68bf14ef9 100644 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -1,8 +1,9 @@ # Install packages we need. Docker must be installed and configured, # as should Go itself. We just install some extra bits and pieces. function install_pkgs() { + export DEBIAN_FRONTEND=noninteractive while true; do - if sudo apt-get update && sudo apt-get install -y "$@"; then + if sudo -E apt-get update && sudo -E apt-get install -y "$@"; then break fi done