chia7712 commented on code in PR #20892: URL: https://github.com/apache/kafka/pull/20892#discussion_r2532123258
########## tests/docker/Dockerfile: ########## @@ -149,7 +149,7 @@ RUN useradd -u $UID -ms /bin/bash ducker \ && mkdir -p /home/ducker/ \ && rsync -aiq /root/.ssh/ /home/ducker/.ssh \ && chown -R ducker /home/ducker/ /mnt/ /var/log/ \ - && echo "PATH=$(runuser -l ducker -c 'echo $PATH'):$JAVA_HOME/bin" >> /home/ducker/.ssh/environment \ + && echo "PATH=$(runuser -l ducker -c 'echo $PATH'):$JAVA_HOME/bin" >> /etc/environment \ Review Comment: It seems the user enviroment file has not been applied. The new image sets the link to `/usr/bin/java`, which is why it works even though the environment file is not applied -- 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]
