File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed
modules/s2i/bash/artifacts/usr/local/s2i Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,22 @@ source "${JBOSS_CONTAINER_UTIL_PATHFINDER_MODULE}/pathfinder.sh"
19
19
setup_java_app_and_lib
20
20
21
21
# include our jlink scripts
22
- source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /mkdeps.sh"
23
- echo " Invoking mkdeps"
24
- generate_deps
22
+ if [ " $S2I_ENABLE_JLINK " = " true" ]; then
25
23
26
- source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /mkstrippeddeps .sh"
27
- echo " Stripping dependencies "
28
- mkstrippeddeps
24
+ source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /mkdeps .sh"
25
+ echo " Invoking mkdeps "
26
+ generate_deps
29
27
30
- source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /generatejdkdeps .sh"
31
- echo " Generating JDK dependencies"
32
- generatejdkdeps
28
+ source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /mkstrippeddeps .sh"
29
+ echo " Stripping dependencies"
30
+ mkstrippeddeps
33
31
34
- source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /mkjreimage.sh"
35
- echo " Linking jre"
36
- generate_jre_image
32
+ source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /generatejdkdeps.sh"
33
+ echo " Generating JDK dependencies"
34
+ generatejdkdeps
35
+
36
+ source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /mkjreimage.sh"
37
+ echo " Linking jre"
38
+ generate_jre_image
39
+
40
+ fi
You can’t perform that action at this time.
0 commit comments