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

Don't delete the build directory root #10

Merged
merged 1 commit into from
Apr 1, 2021
Merged

Don't delete the build directory root #10

merged 1 commit into from
Apr 1, 2021

Conversation

edmorley
Copy link
Contributor

@edmorley edmorley commented Mar 1, 2021

Since otherwise once Heroku builds are run from /app, builds will output warnings due to the /app root being read only:

remote: -----> Subdir buildpack app detected
...
remote:        cleaning build dir /app
remote: rm: cannot remove '/app': Read-only file system

Fixes #9.

Since otherwise once Heroku builds are run from `/app`, builds
will output warnings due to the `/app` root being read only:

```
remote: -----> Subdir buildpack app detected
...
remote:        cleaning build dir /app
remote: rm: cannot remove '/app': Read-only file system
```

Fixes #9.
@edmorley
Copy link
Contributor Author

edmorley commented Mar 1, 2021

@timanovsky Hi! Sorry to ping you directly, but this buildpack is one of the most popular of the sub directory/monorepo style buildpacks on Heroku, so it would be great to get this merged to prevent user confusion once the build directory changes. Many thanks :-)

@timanovsky
Copy link
Owner

Thanks @edmorley for providing the patch. I have not been maintaining this code for some time.

@edmorley
Copy link
Contributor Author

edmorley commented Apr 1, 2021

@timanovsky Thank you for merging :-)

@edmorley edmorley deleted the dont-delete-build-dir branch April 1, 2021 13:00
This was referenced Apr 1, 2021
@timanovsky
Copy link
Owner

timanovsky commented Apr 2, 2021 via email

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.

Buildpack warnings when building in /app ("rm: cannot remove '/app': Read-only file system")
2 participants