diff --git a/template/Dockerfile b/template/Dockerfile
index 94eb0beaa15766f627c8bdf11cf256efa1c29520..e98baa112c58745ce73e5f9573712c23c2a7db4f 100644
--- a/template/Dockerfile
+++ b/template/Dockerfile
@@ -92,8 +92,5 @@ VOLUME /usr/local/xwiki
 # are also passed to docker-entrypoint.sh. If "xwiki" is passed then XWiki will be configured the first time the
 # container executes and Tomcat will be started. If some other parameter is passed then it'll be executed to comply
 # with best practices defined at https://github.com/docker-library/official-images#consistency.
-ENV MYSQL_USER=xwiki \
-    MYSQL_PASSWORD=xwiki \
-    DB_CONTAINER_NAME
 ENTRYPOINT ["docker-entrypoint.sh"]
 CMD ["xwiki"]