diff --git a/containers/jug/xl.Dockerfile b/containers/jug/xl.Dockerfile
index 767b8bbd2c4634f44e5a8a03ab80a4d1aa997ed5..a765890eecbf0a17130ff84fb4dfb692dd0cdee1 100644
--- a/containers/jug/xl.Dockerfile
+++ b/containers/jug/xl.Dockerfile
@@ -116,6 +116,8 @@ RUN cd /tmp
          >> /opt/detector/setup.sh                                              \
  && echo "export DETECTOR_VERSION=${DETECTOR_VERSION}"                          \
          >> /opt/detector/setup.sh                                              \
+ && echo "export JUGGLER_DETECTOR_VERSION=${DETECTOR_VERSION}"                  \
+         >> /opt/detector/setup.sh                                              \
  && echo "export JUGGLER_INSTALL_PREFIX=/usr/local"                             \
          >> /opt/detector/setup.sh