Skip to content

Commit e3b93d3

Browse files
committed
Remove jlink-specific changes to common modules
the s2i and jdk modules are used by the non-jlink images; remove the changes to those made in the jlink-dev work. Move those changes to the jlink module. Note: prior commit added an explicit dependency on the jlink module to the jlink-dev image descriptor. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 4bc0ae3 commit e3b93d3

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

modules/jdk/21/module.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ envs:
2525
packages:
2626
install:
2727
- java-21-openjdk-devel
28-
- java-21-openjdk-jmods
2928

3029
modules:
3130
install:

modules/jlink/module.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ envs:
1616
value: /tmp/jre
1717
- name: S2I_JLINK_TEMP_PATH
1818
value: /tmp/jlink
19+
- name: S2I_ENABLE_JLINK
20+
description: ^
21+
Enables the Jdeps/JLink workflow to minimize JRE size
22+
example: "false"
1923

2024
modules:
2125
install:
@@ -25,3 +29,4 @@ modules:
2529
packages:
2630
install:
2731
- binutils # for objcopy
32+
- java-21-openjdk-jmods

modules/s2i/bash/module.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ modules:
1313
- name: jboss.container.maven.s2i
1414
- name: jboss.container.java.run
1515
- name: jboss.container.util.logging
16-
- name: jboss.container.java.jlink
1716
- name: jboss.container.util.pathfinder
1817

1918
packages:

modules/s2i/core/module.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,6 @@ envs:
112112
Delete source files at the end of build. Defaults to true.
113113
example: "false"
114114

115-
- name: S2I_ENABLE_JLINK
116-
description: ^
117-
Enables the Jdeps/JLink workflow to minimize JRE size
118-
example: "false"
119-
120115
run:
121116
cmd:
122117
- "/usr/local/s2i/run"

0 commit comments

Comments
 (0)