Files
homelab/infrastructure/graduated/fedora/Containerfile
ducoterra 5495011d49
Some checks failed
Gitea Actions Demo / build-arch-toolbox (push) Failing after 10s
add wine to kinoite arch tbox, libvirt docs to kinoite readme
2024-11-26 19:45:42 -05:00

79 lines
1.5 KiB
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
# Install tools
RUN pacman -S --noconfirm \
vim \
bind \
iperf3 \
kubectl \
helm \
nethogs \
python \
python-pip \
python-pipx \
ansible \
tmux \
ffmpeg
# Ollama
RUN curl -fsSL https://ollama.com/install.sh | sh
# AWS CLI
RUN pacman -S --noconfirm unzip
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN ./aws/install
# Podman
RUN pacman -S --noconfirm podman
# Wine
COPY <<EOF /etc/pacman.conf
[multilib]
Include = /etc/pacman.d/mirrorlist
EOF
RUN pacman -Syu --noconfirm wine
##### RUN LAST #####
# ZSHRC
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 ###
# Fix for Ansible
export LC_ALL="C.UTF-8"
# AWS
complete -C '/usr/local/bin/aws_completer' aws
# Podman
export CONTAINER_HOST=unix:///run/user/1000/podman/podman.sock
EOF