From b1d5b87bded8d401bb6e826d668c85cde6040706 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Tue, 29 Oct 2019 21:21:33 +0200 Subject: [PATCH] Fix opencv support in dockers --- trains_agent/commands/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trains_agent/commands/worker.py b/trains_agent/commands/worker.py index 04cc583..0f18b81 100644 --- a/trains_agent/commands/worker.py +++ b/trains_agent/commands/worker.py @@ -1645,7 +1645,7 @@ class Worker(ServiceCommandSection): "echo 'Binary::apt::APT::Keep-Downloaded-Packages \"true\";' > /etc/apt/apt.conf.d/docker-clean ; " "chown -R root /root/.cache/pip ; " "apt-get update ; " - "apt-get install -y git libsm6 libxext6 libxrender-dev {python_single_digit}-pip ; " + "apt-get install -y git libsm6 libxext6 libxrender-dev libglib2.0-0 {python_single_digit}-pip ; " "{python} -m pip install -U pip ; " "{python} -m pip install -U trains-agent ; " "{python} -u -m trains_agent ".format(