diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 731dbff270c87e768cfdd1583351c42da690726c..0fdd266276a5bb95fd3fa6f559763389640c8218 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
 # This file is a template, and might need editing before it works on your project.
 # Template project: https://gitlab.com/pages/jekyll
 # Docs: https://docs.gitlab.com/ce/pages/
-image: ruby:2.4
+image: ocaml/opam:latest
 
 variables:
   JEKYLL_ENV: production