helm, kustomize in cloud-toolbox, fzf in system-toolbox

This commit is contained in:
Szwendacz 2023-12-29 09:22:55 +01:00 committed by Maciej Lebiest
parent 0a0a36e36b
commit 45ede1cbbe
2 changed files with 14 additions and 3 deletions

View file

@ -6,7 +6,7 @@ ENV HISTSIZE=10000
ENV HISTTIMEFORMAT="%d/%m/%y %T "
ENV HISTFILESIZE=20000
ENV PKGS_BASE="fzf git python3-pip rclone bash-completion kubernetes-client"
ENV PKGS_BASE="fzf git python3-pip rclone bash-completion kubernetes-client helm golang-sigs-k8s-kustomize"
ENV PKGS_TEMP="python3-devel gcc wget"
RUN dnf clean all && \

View file

@ -1,5 +1,13 @@
FROM registry.fedoraproject.org/fedora:39
USER root
ENV HISTSIZE=10000
ENV HISTTIMEFORMAT="%d/%m/%y %T "
ENV HISTFILESIZE=20000
ENV PKGS_BASE="fzf bash-completion"
ENV PKGS_GENERAL="htop \
btop \
sysstat \
@ -28,12 +36,15 @@ ENV PKGS_NETWORK="bind-utils \
mtr"
RUN dnf clean all && \
dnf install -y ${PKGS_GENERAL} ${PKGS_PROCESSES} ${PKGS_NETWORK} && \
dnf install -y ${PKGS_BASE} ${PKGS_GENERAL} ${PKGS_PROCESSES} ${PKGS_NETWORK} && \
dnf -y autoremove && \
dnf -y clean all
COPY help-toolbox.sh /usr/bin/help-toolbox
RUN chmod 555 /usr/bin/help-toolbox
RUN chmod 555 /usr/bin/help-toolbox && \
echo $'[ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash;\
PS1=\'[system-toolbox \W/]\$ \'\
' >> /root/.bashrc
USER root