ContainersWorkspace/system-toolbox/Containerfile

54 lines
1.1 KiB
Text
Raw Normal View History

2024-04-05 12:38:14 +00:00
FROM registry.fedoraproject.org/fedora-minimal
2023-04-23 18:20:41 +00:00
USER root
ENV HISTSIZE=10000
ENV HISTTIMEFORMAT="%d/%m/%y %T "
ENV HISTFILESIZE=100000
2024-04-05 12:38:14 +00:00
ENV PKGS_BASE="fzf bash-completion python3-cryptography"
2023-04-23 18:20:41 +00:00
ENV PKGS_GENERAL="htop \
2023-04-24 18:48:22 +00:00
btop \
sysstat \
util-linux \
lm_sensors \
smartmontools \
ffmpeg-free \
2023-11-11 13:53:07 +00:00
yt-dlp \
openfortivpn \
conntrack-tools \
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 \
iptraf-ng \
mtr"
2023-04-23 18:20:41 +00:00
2024-04-05 12:38:14 +00:00
RUN dnf5 install -y ${PKGS_BASE} ${PKGS_GENERAL} ${PKGS_PROCESSES} ${PKGS_NETWORK} && \
dnf5 -y autoremove && \
dnf5 -y clean all
2023-04-23 18:20:41 +00:00
COPY help-toolbox.sh /usr/bin/help-toolbox
2024-04-05 12:38:14 +00:00
COPY ./bin /usr/local/bin
2023-04-23 18:20:41 +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;\
source /etc/profile.d/bash_completion.sh;\
PS1=\'[system-toolbox \W/]\$ \'\
' >> /root/.bashrc
2023-04-23 18:20:41 +00:00
USER root