[FOLIO-995] docker_entrypoint.sh script only accepts one argument in JAVA_OPTS environment variable Created: 19/Dec/17 Updated: 12/Nov/18 Resolved: 20/Dec/17 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | Continuous Integration |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Bug | Priority: | P3 |
| Reporter: | Wayne Schneider | Assignee: | John Malconian |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | ci, sprint29 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Description |
|
The standard docker_entrypoint.sh for Java modules launches using this command: exec java "$JAVA_OPTS" -jar ${VERTICLE_HOME}/module.jar "$@" Because the variable in the command line is enclosed in quotes, the JVM interprets all switches as one switch. May also be true of the parameters ($@) – I haven't tested. |
| Comments |
| Comment by John Malconian [ 20/Dec/17 ] |
|
I've updated all projects to use a new base Docker image that uses a different startup script. |