Skip to content

Commit 690893d

Browse files
authored
Merge pull request #4 from jmtd/OPENJDK-2408-bin-custom-s2i-assemble
OPENJDK-2408: binary build with custom s2i assemble script
2 parents 39633f6 + 9086b46 commit 690893d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
# we put a sleep here to ensure that there's at least a one second difference
5+
# between the ctime of the app source (copied in by s2i) and any artefacts
6+
# created by the build/assemble.
7+
echo appsrc-provided s2i assemble script executed
8+
sleep 1
9+
echo delegating to builder image s2i assemble
10+
11+
exec /usr/local/s2i/assemble "$@"

0 commit comments

Comments
 (0)