Skip to content

Commit f84f990

Browse files
committed
add nc and configure tmux
1 parent 41e5c4f commit f84f990

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

images/Dockerfile.archlinux

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN systemctl set-default multi-user.target
77
RUN useradd --create-home --shell /bin/bash admin && echo "admin:admin" | chpasswd
88
RUN usermod -aG wheel admin
99

10-
RUN pacman -Syu --noconfirm wget apache php php-apache tmux sudo neofetch vim vi nano openssh cronie which python gcc make zip unzip npm less
10+
RUN pacman -Syu --noconfirm wget apache php php-apache tmux sudo neofetch vim vi nano openssh cronie which python gcc make zip unzip npm less openbsd-netcat nmap
1111
RUN sed -i 's/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/g' /etc/sudoers
1212

1313
RUN sed -i 's/LoadModule mpm_event_module/#LoadModule mpm_event_module/g' /etc/httpd/conf/httpd.conf \
@@ -21,7 +21,8 @@ RUN systemctl enable httpd
2121
RUN systemctl enable sshd
2222
RUN systemctl enable cronie
2323

24-
RUN sudo curl -L https://github.com/lemnos/tt/releases/download/v0.4.2/tt-linux -o /usr/local/bin/tt && sudo chmod +x /usr/local/bin/tt
24+
RUN curl -L https://github.com/lemnos/tt/releases/download/v0.4.2/tt-linux -o /usr/local/bin/tt && chmod +x /usr/local/bin/tt
25+
RUN echo "set-option -g window-size largest" > /etc/tmux.conf
2526

2627
RUN wget https://github.com/tsl0922/ttyd/releases/download/1.7.4/ttyd.x86_64 -O /usr/bin/ttyd.x86_64
2728
RUN chmod +x /usr/bin/ttyd.x86_64

0 commit comments

Comments
 (0)