diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2348a1e3cc7fc3db70841344bd6b0f308d4d8c05..f86292f3438c78d1922477fa08b1bb74ee2668ca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,9 +4,11 @@ test:
         - python3 -m ebpfcat.ebpf_test -v Tests && python3 -m ebpfcat.ethercat_test -v
 
 docs:
-    image: tk0miya/sphinx-html
+    image: sphinxdoc/sphinx
     script:
-        - python3 setup.py install --user
+        - apt-get update
+        - apt-get install -y openssh-client
+        - pip3 install . --user
         - sphinx-build -b html -d _build/doctrees . _build/html
         - eval $(ssh-agent)
         - echo "$SSHKEY" | ssh-add -