paketo-community/staticfile

Buildpack does not work with paketo-buildpacks/nginx: 0.6.0

Closed this issue · 2 comments

DmyMi commented

When i use paketo-buildpacks/nginx version 0.5.3 and paketo-community/staticfile version 0.2.0 to build an image everything works as expected and container starts without issues. But when i build an image with newer paketo-buildpacks/nginx:0.6.0 & paketo-community/staticfile:0.2.0 the resulting container exists with the following error:
[emerg] 1#0: open() "/workspace/logs/nginx/error.log" failed (2: No such file or directory)

This looks like the same error as this issue: paketo-buildpacks/nginx#363
@paketo-community/web-servers-maintainers.

I can confirm that we see the same error in the staticfile + nginx test in this buildpack.

@paketo-community/web-servers-maintainers The nginx buildpack used to create the profile.d directory with permission bits 0755. The staticfile buildpack creates it with 0744 if it does not already exist. Could this be the problem? Both errors seem to be related to the logging init script not being executed.