add startupscripts
This commit is contained in:
parent
6dd4a82aae
commit
63046aae60
3 changed files with 14 additions and 1 deletions
|
@ -5,6 +5,8 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||
WORKDIR /
|
||||
COPY requirements.txt .
|
||||
COPY requirements.yaml .
|
||||
COPY start_tmux.sh .
|
||||
COPY version.sh .
|
||||
|
||||
# hadolint ignore=DL3013
|
||||
RUN python3 -m pip install --no-cache-dir --upgrade pip \
|
||||
|
@ -52,4 +54,4 @@ RUN git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.v
|
|||
&& ln -s ~/dotfiles/.bash_extra ~/.bashrc \
|
||||
&& vim +PluginInstall +qall
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
ENTRYPOINT ["/start_tmux.sh"]
|
||||
|
|
2
start_tmux.sh
Normal file
2
start_tmux.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
tmux new-session -d -t ansible-devspace 'version.sh'
|
9
version.sh
Normal file
9
version.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
vim --version | head -1 >> /tmp/versions
|
||||
ansible --version | head -1 >> /tmp/versions
|
||||
git -v >> /tmp/versions
|
||||
|
||||
echo "" >> /tmp/versions
|
||||
echo "ansible-devspace" | figlet -l -w 100 >> /tmp/versions
|
||||
|
||||
/usr/games/lolcat < /tmp/versions
|
Loading…
Reference in a new issue