diff --git a/tools/dockerfile/test/cxx_squeeze_x64/Dockerfile b/tools/dockerfile/test/cxx_squeeze_x64/Dockerfile
index 35a3131d6c813aa3e6318f9d4b7875710b1bdac1..b7f95aaa8d98a6a3f6f6bc18238fd72c01b2be8c 100644
--- a/tools/dockerfile/test/cxx_squeeze_x64/Dockerfile
+++ b/tools/dockerfile/test/cxx_squeeze_x64/Dockerfile
@@ -70,7 +70,8 @@ RUN apt-get update && apt-get -y install python-pip && apt-get clean
 RUN pip install argparse
 
 RUN wget http://openssl.org/source/openssl-1.0.2f.tar.gz
-ADD post-git-setup.sh /
+
+ENV POST_GIT_STEP tools/dockerfile/test/cxx_squeeze_x64/post-git-setup.sh
 
 # Prepare ccache
 RUN ln -s /usr/bin/ccache /usr/local/bin/gcc