diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8efc78806b0bfe6b1cc93440bdf28bc95efa8cbe..7dd4b3a857099b8b195f6f90cb736c55d4d2de3c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -109,7 +109,9 @@ tag_container_image:
   before_script:
     - *crane-setup
   script:
+    - source $VARIABLES_FILE
     - crane tag $CONTAINER_IMAGE latest
+    - crane tag $CONTAINER_IMAGE $PVERSION-$CI_COMMIT_SHORT_SHA
 
 # Deploy DEB files to APTLY repository.
 # All four DEB files are deployed with SNAPSHOT version (branch: develop)!
diff --git a/Dockerfile b/Dockerfile
index dfc05396a08828d80dbf3ca3e7898a0f475b41d8..be1c6c569201a5468c78331a84178f4cd90f99b6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,6 +2,8 @@ FROM maven:3-jdk-8 as builder
 
 COPY . /build
 WORKDIR /build
+# clone the tei stylesheets
+RUN git submodule update --recursive --init
 RUN mvn package -Dmaven.test.skip=true -P \!textgrid.deb