Skip to content

Commit

Permalink
add nc and configure tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
mbund committed Mar 19, 2024
1 parent 41e5c4f commit f84f990
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions images/Dockerfile.archlinux
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN systemctl set-default multi-user.target
RUN useradd --create-home --shell /bin/bash admin && echo "admin:admin" | chpasswd
RUN usermod -aG wheel admin

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
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
RUN sed -i 's/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/g' /etc/sudoers

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

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
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
RUN echo "set-option -g window-size largest" > /etc/tmux.conf

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

0 comments on commit f84f990

Please sign in to comment.