slfan1989 commented on code in PR #6448:
URL: https://github.com/apache/hadoop/pull/6448#discussion_r1453537205


##########
dev-support/bin/create-release:
##########
@@ -504,9 +504,9 @@ function dockermode
     echo "LABEL org.apache.hadoop.create-release=\"cr-${RANDOM}\""
 
     # setup ownerships, etc
-    echo "RUN groupadd --non-unique -g ${group_id} ${user_name}"
-    echo "RUN useradd -g ${group_id} -u ${user_id} -m ${user_name}"
-    echo "RUN chown -R ${user_name} /home/${user_name}"
+    echo "RUN groupadd --non-unique -g ${group_id} ${user_name}; exit 0;"

Review Comment:
   Thank you for reviewing this PR! Once an error occurs in the RUN script, the 
image building process is terminated. The error I encountered does not block 
the overall compilation process, so I added `exit 0`. I hope that even if there 
is an error, the subsequent compilation process can continue.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to