From 4878131d281097e6f1f4f3b634d28f26240b3956 Mon Sep 17 00:00:00 2001
From: Sebastian <sebastian.karius@informatik.uni-halle.de>
Date: Mon, 10 Mar 2025 10:46:00 +0100
Subject: [PATCH] add requirements for Cython

---
 docker/coder-ubuntu_22-python/Dockerfile | 3 ++-
 docker/coder-ubuntu_24-python/Dockerfile | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/docker/coder-ubuntu_22-python/Dockerfile b/docker/coder-ubuntu_22-python/Dockerfile
index 51e256c..d19b474 100644
--- a/docker/coder-ubuntu_22-python/Dockerfile
+++ b/docker/coder-ubuntu_22-python/Dockerfile
@@ -8,7 +8,8 @@ RUN apt-get update && apt-get upgrade -y
 RUN apt-get install -y git wget curl
 
 # install python, pip and venv
-RUN apt-get install -y python3 python3-pip python3-venv
+# install python-dev and gcc for Cython
+RUN apt-get install -y python3 python3-pip python3-venv python3-dev gcc
 
 # install pipx
 ENV TZ=Europe/Berlin
diff --git a/docker/coder-ubuntu_24-python/Dockerfile b/docker/coder-ubuntu_24-python/Dockerfile
index 1e208d3..0da3514 100644
--- a/docker/coder-ubuntu_24-python/Dockerfile
+++ b/docker/coder-ubuntu_24-python/Dockerfile
@@ -8,7 +8,8 @@ RUN apt-get update && apt-get upgrade -y
 RUN apt-get install -y git wget curl
 
 # install python, pip and venv
-RUN apt-get install -y python3 python3-pip python3-venv cython3
+# install python-dev and gcc for Cython
+RUN apt-get install -y python3 python3-pip python3-venv python3-dev gcc
 
 # install pipx
 ENV TZ=Europe/Berlin
-- 
GitLab