Skip to content

Commit 9007159

Browse files
committed
RANGER-5455: Refactor to use env variable RANGER_SCRIPTS
1 parent 95f06c4 commit 9007159

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ RUN mkdir -p ${RANGER_DIST} ${RANGER_SCRIPTS} ${RANGER_HOME} && \
5353

5454
# setup groups and users
5555
COPY docker/create_users_and_groups.sh ${RANGER_SCRIPTS}
56-
RUN chmod +x /home/ranger/scripts/create_users_and_groups.sh && \
57-
/home/ranger/scripts/create_users_and_groups.sh
56+
RUN chmod +x ${RANGER_SCRIPTS}/create_users_and_groups.sh && \
57+
${RANGER_SCRIPTS}/create_users_and_groups.sh
5858

5959
# Create opensearch user and group
6060
RUN groupadd -g 3002 opensearch && \

0 commit comments

Comments
 (0)