This is an automated email from the ASF dual-hosted git repository.
abhi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ranger-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 9007159 RANGER-5455: Refactor to use env variable RANGER_SCRIPTS
9007159 is described below
commit 9007159c407251dcd70d928b6f3e76f3e4c92575
Author: Abhishek Kumar <[email protected]>
AuthorDate: Fri Jan 23 12:23:06 2026 -0800
RANGER-5455: Refactor to use env variable RANGER_SCRIPTS
---
docker/Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index a68254d..6fd4e72 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -53,8 +53,8 @@ RUN mkdir -p ${RANGER_DIST} ${RANGER_SCRIPTS} ${RANGER_HOME}
&& \
# setup groups and users
COPY docker/create_users_and_groups.sh ${RANGER_SCRIPTS}
-RUN chmod +x /home/ranger/scripts/create_users_and_groups.sh && \
- /home/ranger/scripts/create_users_and_groups.sh
+RUN chmod +x ${RANGER_SCRIPTS}/create_users_and_groups.sh && \
+ ${RANGER_SCRIPTS}/create_users_and_groups.sh
# Create opensearch user and group
RUN groupadd -g 3002 opensearch && \