changeset 550:eb70cc84cfb0

try onbuild
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 23 May 2024 10:11:12 -0400
parents 39326a8e4f3b
children 67c28d5e7904
files java-17/Dockerfile
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
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