diff --git a/.docker/Dockerfile b/.docker/Dockerfile
index 7afebe94d05d65b298c8c9c00b7f933c2c745535..757ef85166161f78cafbf986eb4a22d7b3d418be 100644
--- a/.docker/Dockerfile
+++ b/.docker/Dockerfile
@@ -18,6 +18,8 @@ RUN rm -rf .git
 
 RUN apt-get install -y openjdk-11-jdk-headless
 
+ENV CPPLIB_VERSION=$CPPLIB_VERSION
+
 # build and run tests
 CMD ls -la && \
     ls -la /usr/local/lib/ && \