diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3829eedced5bc53ce946058c6d6965a7f02f313b..f7a2e6540938f286dff837abe1d961fc6305c316 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,7 @@ image: docker:24
 
 variables:
   DOCKER_TLS_CERTDIR: "/certs"
-  BUILD_VERSION: p7
+  BUILD_VERSION: p8
 
 services:
   - docker:24-dind
diff --git a/Dockerfile b/Dockerfile
index 73e310292f16680fc0086436dd88ff2e3f912cc7..2579143683fbaee8f9dfa679f87883a7aabd237e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM roundcube/roundcubemail:1.6.4-apache
+FROM roundcube/roundcubemail:1.6.8-apache
 MAINTAINER Andrej Ramašeuski <andrej.ramaseuski@pirati.cz>
 
 RUN set -ex; \