-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (24 loc) · 822 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM python:3.8.7-slim
# Installing dependencies
RUN set -x; \
apt-get update && \
apt-get install -y wget libutempter0 expect xsel git telnet
RUN set -x; \
wget http://ftp.us.debian.org/debian/pool/main/libe/libevent/libevent-2.1-7_2.1.12-stable-1_amd64.deb && \
dpkg -i libevent-2.1-7_2.1.12-stable-1_amd64.deb && \
rm libevent-2.1-7_2.1.12-stable-1_amd64.deb
# Downloading .deb and istalling
RUN set -x; \
wget http://ftp.us.debian.org/debian/pool/main/t/tmux/tmux_3.2~rc3-1_amd64.deb && \
dpkg -i tmux_3.2~rc3-1_amd64.deb && \
rm tmux_3.2~rc3-1_amd64.deb
# Creating user
RUN useradd -ms /bin/bash tmuxnoc
USER tmuxnoc
# Enable colors for terminal
ENV TERM=xterm-256color
# Dir for tmuxNOC
RUN cd && mkdir tmuxNOC
WORKDIR "/home/tmuxnoc"
VOLUME "/home/tmuxnoc/tmuxNOC"
CMD ["bash"]