All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 7m20s
93 lines
2.0 KiB
Docker
93 lines
2.0 KiB
Docker
FROM quay.io/toolbx/arch-toolbox:latest
|
|
|
|
# Enable Pacman multilib
|
|
RUN tee -a /etc/pacman.conf <<EOF
|
|
[multilib]
|
|
Include = /etc/pacman.d/mirrorlist
|
|
EOF
|
|
|
|
# Set Pacman architecture to x86_64 manually because auto doesn't work.
|
|
RUN sed -i 's/Architecture = auto/Architecture = x86_64/' /etc/pacman.conf
|
|
|
|
# Sync Pacman repos and get updates
|
|
RUN pacman -Syu --noconfirm
|
|
|
|
# Install tools
|
|
RUN pacman -S --noconfirm \
|
|
zsh \
|
|
grml-zsh-config \
|
|
zsh-syntax-highlighting \
|
|
zsh-autosuggestions \
|
|
pkgfile \
|
|
vim \
|
|
bind \
|
|
iperf3 \
|
|
kubectl \
|
|
helm \
|
|
nethogs \
|
|
python \
|
|
python-pip \
|
|
python-pipx \
|
|
ansible \
|
|
tmux \
|
|
ffmpeg \
|
|
wine \
|
|
podman \
|
|
unzip \
|
|
bat \
|
|
btop \
|
|
jq \
|
|
yq \
|
|
imagemagick
|
|
|
|
# Ollama
|
|
RUN curl -L https://ollama.com/download/ollama-linux-amd64.tgz -o ollama-linux-amd64.tgz && \
|
|
tar -C /usr -xzf ollama-linux-amd64.tgz && \
|
|
rm ollama-linux-amd64.tgz
|
|
|
|
# AWS CLI V2
|
|
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
|
|
unzip -qq awscliv2.zip && \
|
|
./aws/install && \
|
|
rm awscliv2.zip && \
|
|
rm -rf aws
|
|
|
|
# Youtube DL
|
|
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/youtube-dlp && \
|
|
chmod a+rx /usr/local/bin/youtube-dlp
|
|
|
|
####################
|
|
##### 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
|