Skip to content

allow setting start command arguments for distZip containers#811

Closed
chrisfarms wants to merge 1 commit into
cloudfoundry:mainfrom
govuk-paas:distzip-args
Closed

allow setting start command arguments for distZip containers#811
chrisfarms wants to merge 1 commit into
cloudfoundry:mainfrom
govuk-paas:distzip-args

Conversation

@chrisfarms
Copy link
Copy Markdown
Contributor

What

Adds the ability to configure the args passed to the start script when
using the distZip container format.

This lets you, for example, set:

JBP_CONFIG_DIST_ZIP : '{ arguments: "server config.yml" }'

to add "server config.yml" as arguments to the start script. It is
analogous to JBP_CONFIG_JAVA_MAIN.

Why

So that distZip packaged applications can easily configure their command arguments.

Related

fixes: #721

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Jun 3, 2020

CLA Check
The committers are authorized under a signed CLA.

Adds the ability to configure the args passed to the start script when
using the distzip container format.

This lets you, for example, set:

    JBP_CONFIG_DIST_ZIP : '{ arguments: "server config.yml" }'

to add "server config.yml" as arguments to the start script. It is
analogous to JBP_CONFIG_JAVA_MAIN.

Issue: cloudfoundry#721
@nebhale nebhale changed the base branch from master to main June 17, 2020 17:48
@nebhale nebhale added this to the 4.32 milestone Jun 22, 2020
@nebhale nebhale closed this in 0aa857a Jun 22, 2020
ramonskie pushed a commit that referenced this pull request Dec 4, 2025
Adds the ability to configure the args passed to the start script when
using the distzip container format.

This lets you, for example, set:

    JBP_CONFIG_DIST_ZIP : '{ arguments: "server config.yml" }'

to add "server config.yml" as arguments to the start script. It is
analogous to JBP_CONFIG_JAVA_MAIN.

[resolves #721][resolves #811]

Signed-off-by: Ben Hale <bhale@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow Configuration of Arguments Passed to a DistZip Startup Script

2 participants