diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 25425691057398ffc6c65bda57575ade1d40c97e..8e132eca85f1412d4ed9ecc98d425f73749c1f73 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