add podman, various tools, etc. to arch toolbox
This commit is contained in:
@@ -3,8 +3,39 @@ 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
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
# ZSHRC
|
||||
COPY <<EOF /etc/zsh/zshrc.local
|
||||
# Basic settings
|
||||
autoload bashcompinit && bashcompinit
|
||||
@@ -24,18 +55,13 @@ source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
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
|
||||
|
||||
# Install tools
|
||||
RUN pacman -S --noconfirm \
|
||||
vim \
|
||||
bind \
|
||||
iperf3 \
|
||||
kubectl \
|
||||
helm \
|
||||
nethogs \
|
||||
python \
|
||||
python-pip \
|
||||
python-pipx
|
||||
|
||||
CMD /usr/bin/zsh
|
||||
Reference in New Issue
Block a user