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 febe253 commit 3b2f131
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 @@ -122,6 +122,7 @@ RUN set -xe; \
\
# Configure sudoers
{ \
echo "Defaults secure_path=\"$PATH\""; \
echo 'Defaults env_keep += "APP_ROOT FILES_DIR"' ; \
\
if [[ -n "${RUBY_DEV}" ]]; then \
Expand Down

0 comments on commit 3b2f131

Please sign in to comment.