Skip to content

Commit

Permalink
HADOOP-19062. Improve create-release RUN script. (#29) Contributed by…
Browse files Browse the repository at this point in the history
… Shilun Fan

Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
Signed-off-by: Shilun Fan <slfan1989@apache.org>
  • Loading branch information
slfan1989 committed Feb 4, 2024
1 parent 90bd3c6 commit 42d3335
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-support/bin/create-release
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,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;"
echo "RUN useradd -g ${group_id} -u ${user_id} -m ${user_name}; exit 0;"
echo "RUN chown -R ${user_name} /home/${user_name}; exit 0;"
echo "ENV HOME /home/${user_name}"
echo "RUN mkdir -p /maven"
echo "RUN chown -R ${user_name} /maven"
Expand Down

0 comments on commit 42d3335

Please sign in to comment.