Skip to content

Demonstrates an issue when running a Gradle application under a minimal OS

Notifications You must be signed in to change notification settings

roomscape/gradle-start-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This reproduces an issue with the Unix startup script generated by the Gradle application plugin.

Build the application with Docker:

docker build -t example .
docker run --env JAVA_OPTS="-Dfoo=bar" example

Expected behaviour

The application prints the following:

Application was started with -Dfoo=bar

Actual behaviour:

The application prints the following:

/example/bin/example: line 233: xargs: command not found
Application was started with -Dfoo=null

About

Demonstrates an issue when running a Gradle application under a minimal OS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published