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

Make working directory of build command configurable #288

Open
dmikusa opened this issue Dec 2, 2024 · 0 comments
Open

Make working directory of build command configurable #288

dmikusa opened this issue Dec 2, 2024 · 0 comments
Labels
type:enhancement A general enhancement

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Dec 2, 2024

Describe the Enhancement

Presently, the working directory is always /workspace (i.e. the app root). We should make this configurable.

https://github.com/paketo-buildpacks/libbs/blob/main/application.go#L56-L64

We will need to enable configuration options to pass this through. It maybe a little tricky to do this without breaking the present API, so we may need to hold this for v2.

Motivation

This allows the library to be more flexible for build tools and allows them to run the build command from a different location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant