Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support JAVA_OPTS for Ash template, similar to bash #940

Closed
kwinter opened this issue Feb 9, 2017 · 1 comment
Closed

Support JAVA_OPTS for Ash template, similar to bash #940

kwinter opened this issue Feb 9, 2017 · 1 comment
Labels

Comments

@kwinter
Copy link

kwinter commented Feb 9, 2017

It appears as though there is no way to pass JVM options from the environment when using the Ash script plugin, only by declaring them in the ini file or within the build process. The bash template allows doing this via a JAVA_OPTS environment variable, it would be great to be able to do the same thing with the ash template.

bash handling: https://github.com/sbt/sbt-native-packager/blob/master/src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/bash-template#L244

Our specific scenario is that we're using Docker (Alpine) and the AshScriptPlugin, and don't see a way to pass in JVM options from the environment

@muuki88 muuki88 added the docker label Apr 8, 2017
@muuki88
Copy link
Contributor

muuki88 commented Apr 8, 2017

Sorry for the late reaction. I think this was added with 5b696b9

@muuki88 muuki88 closed this as completed Apr 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants