vncserver test env: kill leftover processes on "k" command

This commit is contained in:
Dmitry Maksyoma
2021-11-21 20:43:40 +13:00
parent 35e0157431
commit a675f411cc

View File

@@ -42,7 +42,7 @@ WORKDIR $HOME
RUN pip3 install --user pipenv RUN pip3 install --user pipenv
RUN echo 'PATH="/src/unix:~/.local/bin/:$PATH"' >> ~/.bashrc RUN echo 'PATH="/src/unix:~/.local/bin/:$PATH"' >> ~/.bashrc
RUN echo 'alias s="sh /src/s"' >> ~/.bashrc RUN echo 'alias s="sh /src/s"' >> ~/.bashrc
RUN echo 'alias k="vncserver -kill :1"' >> ~/.bashrc RUN echo 'alias k="vncserver -kill :1; pkill baloo_file; pkill gpg-agent; pkill ssh-agent; pkill xiccd;"' >> ~/.bashrc
RUN echo 'alias r="k; s"' >> ~/.bashrc RUN echo 'alias r="k; s"' >> ~/.bashrc
RUN echo 'alias go="sh /src/s; vncserver -kill :1"' >> ~/.bashrc RUN echo 'alias go="sh /src/s; vncserver -kill :1"' >> ~/.bashrc
RUN echo 'alias ns="netstat -nltp"' >> ~/.bashrc RUN echo 'alias ns="netstat -nltp"' >> ~/.bashrc