Skip to content

Entrypoint permissions using Docker #185

@turbo2ltr

Description

@turbo2ltr

Describe the bug
When the php-httpd container runs, it produces a permissions error for entrypoint.sh and exits after a few retries.

To Reproduce
I just followed the published docker instructions.

Expected behavior
For it to launch without error.

Desktop (please complete the following information):

  • OS: Alpine (docker host server)
  • Browser: Brave (on windows)

Additional context
I was able to solve the issue by adding the chmod at the end of the dockerfile and rebuilding the image. Maybe it doesn't need full 777 but I was just testing for now.

COPY entrypoint.sh /app/entrypoint.sh
RUN chmod 777 /app/entrypoint.sh
CMD /app/entrypoint.sh

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions