2023-11-24 20:12:55 +00:00
|
|
|
FROM registry.fedoraproject.org/fedora:39
|
2023-04-23 18:20:41 +00:00
|
|
|
|
2023-12-29 08:22:55 +00:00
|
|
|
USER root
|
|
|
|
|
|
|
|
ENV HISTSIZE=10000
|
|
|
|
ENV HISTTIMEFORMAT="%d/%m/%y %T "
|
|
|
|
ENV HISTFILESIZE=20000
|
|
|
|
|
|
|
|
ENV PKGS_BASE="fzf bash-completion"
|
|
|
|
|
2023-04-23 18:20:41 +00:00
|
|
|
ENV PKGS_GENERAL="htop \
|
2023-04-24 18:48:22 +00:00
|
|
|
btop \
|
2023-07-18 17:19:10 +00:00
|
|
|
sysstat \
|
2023-11-07 21:08:23 +00:00
|
|
|
util-linux \
|
|
|
|
lm_sensors \
|
2023-11-08 18:27:50 +00:00
|
|
|
smartmontools \
|
|
|
|
ffmpeg-free \
|
2023-11-11 13:53:07 +00:00
|
|
|
yt-dlp \
|
2023-11-11 20:33:29 +00:00
|
|
|
openfortivpn \
|
|
|
|
conntrack-tools \
|
2024-02-11 19:07:07 +00:00
|
|
|
wireguard-tools \
|
|
|
|
iotop \
|
|
|
|
rsync"
|
2023-04-24 18:48:22 +00:00
|
|
|
|
|
|
|
ENV PKGS_PROCESSES="procps-ng \
|
|
|
|
strace"
|
|
|
|
|
|
|
|
ENV PKGS_NETWORK="bind-utils \
|
|
|
|
nmap \
|
|
|
|
nmap-ncat \
|
|
|
|
telnet \
|
|
|
|
tcpdump \
|
|
|
|
iftop \
|
|
|
|
iproute \
|
|
|
|
iputils \
|
|
|
|
whois \
|
2023-11-21 20:04:55 +00:00
|
|
|
iptraf-ng \
|
|
|
|
mtr"
|
2023-04-23 18:20:41 +00:00
|
|
|
|
|
|
|
RUN dnf clean all && \
|
2023-12-29 08:22:55 +00:00
|
|
|
dnf install -y ${PKGS_BASE} ${PKGS_GENERAL} ${PKGS_PROCESSES} ${PKGS_NETWORK} && \
|
2023-04-23 18:20:41 +00:00
|
|
|
dnf -y autoremove && \
|
|
|
|
dnf -y clean all
|
|
|
|
|
|
|
|
COPY help-toolbox.sh /usr/bin/help-toolbox
|
|
|
|
|
2023-12-29 08:22:55 +00:00
|
|
|
RUN chmod 555 /usr/bin/help-toolbox && \
|
|
|
|
echo $'[ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash;\
|
2024-03-16 14:04:20 +00:00
|
|
|
source /etc/profile.d/bash_completion.sh;\
|
2023-12-29 08:22:55 +00:00
|
|
|
PS1=\'[system-toolbox \W/]\$ \'\
|
|
|
|
' >> /root/.bashrc
|
2023-04-23 18:20:41 +00:00
|
|
|
|
|
|
|
USER root
|