diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile
index 055bc0f1c0bf61a5f1d3e433fcce015c974a6056..71346a75384bc27e6ea84d9231cf4284aaa09a18 100644
--- a/containers/jug/dev.Dockerfile
+++ b/containers/jug/dev.Dockerfile
@@ -312,7 +312,7 @@ ln -s /usr/local /usr/._local/${PREFIX_PATH}
 EOF
 
 ## set ROOT TFile forward compatibility
-RUN sed -i 's/# \(TFile.v630forwardCompatibility:\) no/\1 yes/' /usr/local/etc/root/system.rootrc
+RUN sed --in-place --follow-symlinks 's/# \(TFile.v630forwardCompatibility:\) no/\1 yes/' /usr/local/etc/root/system.rootrc
 
 ## Setup ld.so.conf with what could go in LD_LIBRARY_PATH (but lower priority)
 ## Ref: https://man7.org/linux/man-pages/man8/ld.so.8.html