buildkite: set DEBIAN_FRONTEND=noninteractive

This commit is contained in:
Andrei Vagin
2021-11-26 10:14:08 +00:00
committed by Daniel Dao
parent 60456ecc50
commit 11700f409f
+2 -1
View File
@@ -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