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

Entrypoint Fixes #257

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Entrypoint Fixes #257

wants to merge 1 commit into from

Conversation

galti3r
Copy link

@galti3r galti3r commented Nov 19, 2024

Proposed changes

  • remove exec check on .envsh files, and add read check. source file not need exec bit.
  • work with /usr/bin/env sh rather than /bin/sh directly
  • change $VAR to ${VAR} for better read

Checklist

Before creating a PR, run through this checklist and mark each as complete:

  • I have read the CONTRIBUTING document
  • I have run ./update.sh and ensured all entrypoint/Dockerfile template changes have been applied to the relevant image entrypoint scripts & Dockerfiles
  • I have tested that the NGINX Unprivileged Docker images build and run correctly on all supported architectures on an unprivileged environment (check out the README for more details)
  • I have updated any relevant documentation (README)

* fix exec check on .envsh files
* work with /usr/bin/env rather than sh/bash directly
* chang `$VAR` to `${VAR}` for better read
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.

2 participants