You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a container with additional args those are ignored and not consumed by this buildpack
Expected Behavior
If an container is invoked with arguments I would expect that those are passed onto the start script.
Similar as it's today possible to pass in args when run npm run or npm start like this: npm start [-- <args>] .
When using the node-start buildpack it's also possible to pass in arguments
Current Behaviour
Arguments are ignored and not passed to the running process and can therefore not be consumed at all.
Possible Solution
Ensure that the start.sh is passing the argument to the start script. So when building the args in builder.go we would need to add an $@ for the start script to ensure it will be able to consume arguments
Steps to Reproduce
Run a container build with this buildpack and pass in arguments.
Within the started process log all arguments
Motivations
We are having a usecase where one builts an application with this buildpack and wants to start it with different configuration using arguments.
The text was updated successfully, but these errors were encountered:
When running a container with additional args those are ignored and not consumed by this buildpack
Expected Behavior
If an container is invoked with arguments I would expect that those are passed onto the start script.
Similar as it's today possible to pass in args when run npm run or npm start like this:
npm start [-- <args>]
.When using the node-start buildpack it's also possible to pass in arguments
Current Behaviour
Arguments are ignored and not passed to the running process and can therefore not be consumed at all.
Possible Solution
Ensure that the
start.sh
is passing the argument to the start script. So when building the args in builder.go we would need to add an$@
for the start script to ensure it will be able to consume argumentsSteps to Reproduce
Motivations
We are having a usecase where one builts an application with this buildpack and wants to start it with different configuration using arguments.
The text was updated successfully, but these errors were encountered: