winglian commited on
Commit
709be5a
1 Parent(s): 807cca8

use printf instead of echo in dockerfile for portability

Browse files
Files changed (1) hide show
  1. docker/Dockerfile-runpod +1 -1
docker/Dockerfile-runpod CHANGED
@@ -4,7 +4,7 @@ FROM winglian/axolotl:$BASE_TAG
4
  RUN apt install --yes --no-install-recommends openssh-server tmux && \
5
  mkdir -p ~/.ssh && \
6
  chmod 700 ~/.ssh && \
7
- echo -e "\n[[ -z \"\$TMUX\" ]] && { tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux; exit; }" >> ~/.bashrc && \
8
  chmod +x /workspace/axolotl/scripts/runpod-entrypoint.sh
9
 
10
  ENTRYPOINT ["/workspace/axolotl/scripts/runpod-entrypoint.sh"]
 
4
  RUN apt install --yes --no-install-recommends openssh-server tmux && \
5
  mkdir -p ~/.ssh && \
6
  chmod 700 ~/.ssh && \
7
+ printf "\n[[ -z \"\$TMUX\" ]] && { tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux; exit; }\n" >> ~/.bashrc && \
8
  chmod +x /workspace/axolotl/scripts/runpod-entrypoint.sh
9
 
10
  ENTRYPOINT ["/workspace/axolotl/scripts/runpod-entrypoint.sh"]