kumaab commented on code in PR #660: URL: https://github.com/apache/ranger/pull/660#discussion_r2415121390
########## dev-support/ranger-docker/Dockerfile.ranger-knox: ########## @@ -32,6 +32,9 @@ COPY ./scripts/ranger-knox-plugin-install.properties /home/ranger/scripts/ COPY ./scripts/ranger-knox-expect.py /home/ranger/scripts/ COPY ./scripts/ranger-knox-sandbox.xml /home/ranger/scripts/ +# Switch to root to create system directories +USER root Review Comment: User is already `root` here, please update. ########## dev-support/ranger-docker/Dockerfile.ranger-hive: ########## @@ -38,7 +40,10 @@ COPY ./scripts/ranger-hive.sh /home/ranger/scripts/ COPY ./scripts/ranger-hive-plugin-install.properties /home/ranger/scripts/ COPY ./scripts/hive-site-${RANGER_DB_TYPE}.xml /home/ranger/scripts/hive-site.xml -RUN tar xvfz /home/ranger/dist/apache-hive-${HIVE_VERSION}-bin.tar.gz --directory=/opt/ && \ +# Switch to root to create system directories Review Comment: User is already `root` here, please update. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org