diff java-17/Dockerfile @ 550:eb70cc84cfb0

try onbuild
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 23 May 2024 10:11:12 -0400
parents 39326a8e4f3b
children eae4a6205738
line wrap: on
line diff
--- a/java-17/Dockerfile	Thu May 23 10:03:26 2024 -0400
+++ b/java-17/Dockerfile	Thu May 23 10:11:12 2024 -0400
@@ -11,8 +11,9 @@
     && apt-get autoremove -y \
     && rm -rf /var/lib/apt/lists/*
 
-SHELL ["cmd", "/S", "/C"]
-RUN --add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED
+
+ONBUILD SHELL ["cmd", "/S", "/C"]
+ONBUILD RUN --add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED
 
 ENV TZ=America/New_York