Skip to content

Commit 3de928d

Browse files
committed
docker: avoid timing out while pulling images from the hub
1 parent 447414f commit 3de928d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/docker.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ impl DockerEnv {
4646

4747
fn pull(&self) -> Fallible<()> {
4848
info!("pulling image {} from Docker Hub", self.image);
49-
RunCommand::new("docker").args(&["pull", &self.image]).run()
49+
RunCommand::new("docker")
50+
.args(&["pull", &self.image])
51+
.enable_timeout(false)
52+
.run()
5053
}
5154
}
5255

0 commit comments

Comments
 (0)