Skip to content

Commit 43f0d16

Browse files
authored
Fixed multinode entrypoint to exit properly (#186)
1 parent f707fdc commit 43f0d16

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pytorch/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ set -e \n\
123123
set -a \n\
124124
source ~/.startup \n\
125125
set +a \n\
126-
eval \"\$@\" \n\
127-
tail -f /dev/null" >> /usr/local/bin/dockerd-entrypoint.sh && \
126+
eval \"\$@\"" >> /usr/local/bin/dockerd-entrypoint.sh && \
128127
chmod +x /usr/local/bin/dockerd-entrypoint.sh
129128

130129
RUN echo 'HostKey /etc/ssh/ssh_host_dsa_key' > /var/run/sshd_config && \

0 commit comments

Comments
 (0)