Vagrantfile: Support docker provider.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2019-05-20 04:07:25 +00:00
committed by Tim Abbott
parent 4c8f9f07d7
commit 684ebc2a5e
3 changed files with 62 additions and 1 deletions

View File

@@ -310,7 +310,13 @@ def install_apt_deps(deps_to_install, retry=False):
# setup-apt-repo does an `apt-get update`
run_as_root(["./scripts/lib/setup-apt-repo"])
run_as_root(["apt-get", "-y", "install", "--no-install-recommends"] + deps_to_install)
run_as_root(
[
"env", "DEBIAN_FRONTEND=noninteractive",
"apt-get", "-y", "install", "--no-install-recommends",
]
+ deps_to_install
)
def install_yum_deps(deps_to_install, retry=False):
# type: (List[str], bool) -> None