From ce12edba6fe55feb94d46869f3ffd788901f14e2 Mon Sep 17 00:00:00 2001
From: dcarron <daniel.carron@idiap.ch>
Date: Mon, 19 Feb 2024 13:35:51 +0100
Subject: [PATCH] [gitlab-ci] Add missing libgl package when building in docker

---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 25425691..8e132eca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,3 +25,8 @@ tests:
     # for pytorch quirks on linux
     - if [ "$TAG" == "docker" ]; then export OMP_NUM_THREADS=1; fi # Set the number of threads used to 1
     - !reference [.snippets, test-prepare]
+
+conda-package:
+  before_script:
+    # for opencv-python dependence
+    - if [ "$TAG" == "docker" ]; then apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null; fi
-- 
GitLab