You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "chia7712 (via GitHub)" <gi...@apache.org> on 2025/11/16 17:54:31 UTC
Re: [PR] MINOR: fix ssh problem in e2e [kafka]
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org