Files
homelab/infrastructure/graduated/fedora/Containerfile

41 lines
894 B
Docker

FROM quay.io/toolbx/arch-toolbox:latest
RUN pacman -Syu --noconfirm
# Install zsh
RUN pacman -S --noconfirm zsh grml-zsh-config zsh-syntax-highlighting zsh-autosuggestions pkgfile
COPY <<EOF /etc/zsh/zshrc.local
# Basic settings
autoload bashcompinit && bashcompinit
autoload -U compinit; compinit
zstyle ':completion:*' menu select
# Prompt settings
autoload -Uz promptinit
promptinit
PROMPT_EOL_MARK=
# Syntax Highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# Command Not Found Autocomplete
source /usr/share/doc/pkgfile/command-not-found.zsh
### Custom Commands and Aliases ###
EOF
# Install tools
RUN pacman -S --noconfirm \
vim \
bind \
iperf3 \
kubectl \
helm \
nethogs \
python \
python-pip \
python-pipx
CMD /usr/bin/zsh