Skip to content

Commit

Permalink
Set secure_path for sudoers
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Dec 26, 2024
1 parent 1f2b3c8 commit 1dbb97c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ RUN set -xe; \
\
# Configure sudoers
{ \
echo "Defaults secure_path=\"$PATH\""; \
echo 'Defaults env_keep += "APP_ROOT FILES_DIR"' ; \
\
if [[ -n "${PYTHON_DEV}" ]]; then \
Expand Down

0 comments on commit 1dbb97c

Please sign in to comment.