diff --git a/ci/Dockerfile b/ci/Dockerfile
index 36b94538c8a8275471937a628959b2bc0838e1f0..5b32a9412ad63e0150495f6fa9b64397682e5d11 100644
--- a/ci/Dockerfile
+++ b/ci/Dockerfile
@@ -3,7 +3,7 @@ COPY with-ssh-key /usr/bin/with-ssh-key
 RUN apt-get -q update \
     && env DEBIAN_FRONTEND=noninteractive apt-get install -q -y --no-install-recommends \
         ansible python3-pip \
-    && pip install mitogen \
+    && pip3 install mitogen \
     && apt-get clean \
     && rm -fr /var/lib/apt/lists/*