diff --git a/src/Dockerfile b/src/Dockerfile
index 6efa736144b057875dcd84a9acb3458f491eb664..6aaf27e37fabbb27e50a5ab9c8c6add1503c34c7 100644
--- a/src/Dockerfile
+++ b/src/Dockerfile
@@ -34,6 +34,7 @@ RUN apt-get update && apt-get install -y \
     libxmlsec1-dev \
     gobject-introspection \
     libgirepository1.0-dev \
+    libgstreamer1.0-dev \
     gir1.2-gtk-3.0 \
     cmake \
     meson \
@@ -51,6 +52,8 @@ RUN pip install --upgrade pip setuptools wheel meson
 
 # Install dependencies
 COPY ./requirements.txt .
+# Install Pycairo before PyGObject
+RUN pip install --no-cache-dir pycairo
 RUN pip install --no-cache-dir -r requirements.txt
 
 # npm install
diff --git a/src/requirements.txt b/src/requirements.txt
index 4109448b37b7d0bce6e1c13c4a14895eec441b96..f41abe45e052d2dab63c9bf444632aef1c7544cb 100644
--- a/src/requirements.txt
+++ b/src/requirements.txt
@@ -54,7 +54,6 @@ kombu==5.2.4
 launchpadlib==1.10.16
 lazr.restfulclient==0.14.4
 lazr.uri==1.0.6
-lxml==5.3.1
 Markdown==3.3.7
 MarkupSafe==2.1.2
 mergedeep==1.3.4
@@ -70,7 +69,7 @@ prompt-toolkit==3.0.32
 pycairo==1.21.0
 pycodestyle==2.9.1
 pycparser==2.21
-PyGObject==3.52.1
+PyGObject==3.50.0
 PyJWT==2.3.0
 pymongo==4.3.3
 pyparsing==2.4.7
@@ -103,6 +102,5 @@ watchdog==2.2.1
 wcwidth==0.2.5
 whitenoise==6.3.0
 wrapt==1.14.1
-xmlsec==1.3.14
 zeep==4.2.1
 zipp==1.0.0