Skip to content

Commit 831824a

Browse files
authored
Merge pull request #9 from jmtd/s2i-assemble-path
Adjust path for S2I to permit scripts in /usr/libexec and /usr/local
2 parents 2ca2216 + 8fccbbe commit 831824a

File tree

1 file changed

+5
-1
lines changed
  • OPENJDK-2408-bin-custom-s2i-assemble/.s2i/bin

1 file changed

+5
-1
lines changed

OPENJDK-2408-bin-custom-s2i-assemble/.s2i/bin/assemble

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ echo appsrc-provided s2i assemble script executed
88
sleep 1
99
echo delegating to builder image s2i assemble
1010

11-
exec /usr/local/s2i/assemble "$@"
11+
# Adjusting the path ensures that this can find assemble for images which
12+
# put the s2i scripts at /usr/local/s2i (UBI8, UBI9) as well as those at
13+
# /usr/libexec/s2i (UBI10).
14+
PATH=/usr/libexec/s2i:/usr/local/s2i:$PATH
15+
exec assemble "$@"

0 commit comments

Comments
 (0)