diff --git a/container.def b/container.def
index 7fa07d546027e67eab5c3d6fe91fe72799168a8c..36b782b9cc31831954d0a66e6ec04a3a3b1134ca 100644
--- a/container.def
+++ b/container.def
@@ -7,7 +7,8 @@ From: nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04
     apt-get update -y # Good practice, update the package database.
     apt-get install -y \
         wget sshfs rsync curl vim bzip2 zip unzip git build-essential cmake \
-        libopenblas-dev 
+        libopenblas-dev \
+        libgl1 libglx0 libgl1-mesa-glx
 
     apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* # keep the Docker image as small as possible.