diff --git a/Dockerfile b/Dockerfile
index cee347e69..e6f1a38e3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,6 +20,7 @@ ENV REBUILD_COUNTER=8
 
 ENV QT5_VERSION=59
 ENV QT5_PPA_VERSION=${QT5_VERSION}4
+ENV TERM=xterm-256color
 
 RUN set -x \
     && apt-get update -y \
diff --git a/ci/snapcraft/Dockerfile b/ci/snapcraft/Dockerfile
index 37b3742dd..43a991d0e 100644
--- a/ci/snapcraft/Dockerfile
+++ b/ci/snapcraft/Dockerfile
@@ -20,6 +20,7 @@ ENV REBUILD_COUNTER=1
 
 ENV QT5_VERSION=510
 ENV QT5_PPA_VERSION=5.10.1
+ENV TERM=xterm-256color
 
 RUN set -x \
     && apt update -y \
@@ -48,4 +49,3 @@ RUN set -x \
 
 RUN set -x \
     && apt-get autoremove --purge
-
diff --git a/ci/trusty/Dockerfile b/ci/trusty/Dockerfile
index d10c609a0..421e8ca24 100644
--- a/ci/trusty/Dockerfile
+++ b/ci/trusty/Dockerfile
@@ -22,6 +22,7 @@ ENV REBUILD_COUNTER=4
 
 ENV QT5_VERSION=53
 ENV QT5_PPA_VERSION=${QT5_VERSION}2
+ENV TERM=xterm-256color
 
 RUN set -x \
      && apt-get update -y \