Skip to content

Commit

Permalink
tmux settings
Browse files Browse the repository at this point in the history
  • Loading branch information
identw committed Mar 18, 2024
1 parent b2a108b commit 4d2d324
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set-option -g default-shell /bin/bash
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN apt-get update \
dnsutils \
nano \
tmux \
screen \
curl \
ca-certificates \
mysql-client \
Expand All @@ -29,7 +30,8 @@ RUN apt-get update \
&& mkdir /user

COPY ./.bash_profile /user/
RUN chmod 755 /user; chmod 755 /user/.bash_profile
COPY ./.tmux.conf /user/
RUN chmod 755 /user; chmod 755 /user/.bash_profile; chmod 644 /user/.tmux.conf
COPY ./entrypoint.sh /

ENTRYPOINT ["/entrypoint.sh"]
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
cp -fv /user/.bash_profile ${HOME}/.bashrc
cp -fv /user/.tmux.conf ${HOME}/.tmux.conf
echo "" > ${HOME}/.sudo_as_admin_successful
exec sleep infinity

0 comments on commit 4d2d324

Please sign in to comment.