-
Notifications
You must be signed in to change notification settings - Fork 443
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
AshScriptPlugin forbids command parameters #1017
Comments
Thanks for your detailed bug report. You are using an untested combination :) There are two things.
It would be awesome if you could test your build with
The error output looks suspicious
The Can you post a minimal |
Thanks for your feed-back! It is indeed strange to have both ash script and rpm. However, we are transitioning from rpm to docker, so we still need both for the time being. I'll send you the required test results as soon as possible. |
After testing, the docker build/deploy works with or without AshScriptPlugin. The output is indeed strange, but it is exactly what I pasted (name excluded). Build environment is actually also usually on Amazon Linux (although I tested it locally on my MacBook also). |
Thanks for checking this again 😃 This is indeed very strange. It would be awesome if you could write a regression test and maybe a fix for it. I can give you guidance and some help in the beginning |
Hi, I seem to be running into the same issue. I packaged using I extracted the tgz, then used this Dockerfile:
I run using
I commited the image, and ran from directly within the container and the application worked without parameters. Using parameters inside the container returns the same error. Changing CMD to use -Dconfig.file results in the same issue. If I remove CMD, my application runs without issue, but obviously now I can't change my configuration file. |
Expected behaviour
Running
starts my Play Framework app with the specified config file
Actual behaviour
Running the same when AshScriptPlugin is enabled in my
build.sbt
file outputs the following error:Information
I found someone else with (what seems to be) the same problem here, so this is probably not linked specifically to RPM.
The text was updated successfully, but these errors were encountered: