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)

Sorry, something went wrong.

@alessfg alessfg added the enhancement New feature or request label Jan 13, 2025
@alessfg
Copy link
Member

alessfg commented Jan 13, 2025

@alessfg alessfg force-pushed the main branch 4 times, most recently from 09368f7 to 25a2b8d Compare March 26, 2025 12:59

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
* fix exec check on .envsh files
* work with /usr/bin/env rather than sh/bash directly
* chang `$VAR` to `${VAR}` for better read
@alessfg alessfg requested a review from a team as a code owner March 27, 2025 12:08
@alessfg alessfg force-pushed the main branch 2 times, most recently from fa0f365 to 8ead5ce Compare March 27, 2025 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants