the great migration from truenas to fedora and all its collatoral
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 24m47s

This commit is contained in:
2025-04-08 12:40:42 -04:00
parent 9a3382862d
commit 9417e711a9
54 changed files with 1533 additions and 519 deletions

View File

@@ -10,10 +10,10 @@ COMMAND_PREFIX=""
export DEBUG_TAG="debug-$(date +"%s")"
docker image pull docker.io/archlinux:latest
podman image pull podman.io/archlinux:latest
# Run the build for the CPU image
docker build \
podman build \
-t gitea.reeseapps.com/services/arch-toolbox:$DEBUG_TAG \
-f ./infrastructure/graduated/distoolbox/arch-toolbox.containerfile \
--target cpu \
@@ -22,9 +22,9 @@ docker build \
./infrastructure/graduated/distoolbox
# Run the build for the AMD gpu image
docker build \
podman build \
-t gitea.reeseapps.com/services/arch-toolbox-amdgpu:$DEBUG_TAG \
-f ./infrastructure/graduated/distoolbox/arch-toolbox.containerfile \
--target amdgpu \
--load \
./infrastructure/graduated/distoolbox
./infrastructure/graduated/distoolbox

View File

@@ -26,7 +26,7 @@ RUN pacman -Syu --noconfirm
# Install a variety of commonly used tools and utilities using Pacman.
RUN pacman -S --noconfirm \
# A powerful shell with syntax highlighting, autosuggestions, and more.
zsh grml-zsh-config zsh-syntax-highlighting zsh-autosuggestions \
zsh \
# Utility to find which packages own files or directories in the system.
pkgfile \
# Advanced text editor for code editing and other tasks.
@@ -106,12 +106,18 @@ RUN pacman -S --noconfirm \
# Reattach to running processes
reptyr \
# Netcat, for basic tcp/udp operations
openbsd-netcat
openbsd-netcat \
# 7zip support
7zip
########################
##### Extra Apps #####
########################
# Install oh-my-zsh
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Install AWS CLI version 2.
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip -qq awscliv2.zip && \
@@ -127,9 +133,6 @@ RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o
##### COPIES #####
####################
# Copy the zshrc.local configuration file to the container.
COPY arch-toolbox-supporting-files/zshrc /etc/zsh/zshrc.local
# Copy tmux.conf to configure tmux in the container.
COPY arch-toolbox-supporting-files/arch-toolbox-tmux.conf /etc/tmux.conf

View File

@@ -9,35 +9,10 @@ Distrobox? Toolbox? Whatever you want.
- [Aliases using Distrobox](#aliases-using-distrobox)
- [Aliases using Toolbox](#aliases-using-toolbox)
- [Building Reese's Arch Toolbox](#building-reeses-arch-toolbox)
- [Distrobox Notes](#distrobox-notes)
## Reese's Arch Distoolbox
I have a custom arch image based on the default arch-toolbox image. It offers:
- zsh with many completions installed/enabled
- vim
- nslookup
- iperf3
- kubectl
- helm
- nethogs
- python, pip, and pipx
- ansible
- aws cli
- podman (connected automatically to the host machine via the unix socket)
- tmux
- ffmpeg
- wine
- podman
- unzip
- bat
- btop
- jq
- yq
- imagemagick
- code
- make, gcc
### Using Reese's Arch Toolbox
Head to <https://gitea.reeseapps.com/services/-/packages> and pick the CPU
@@ -164,3 +139,12 @@ In vscode you can set this as your default build task for homelab and trigger it
]
}
```
## Distrobox Notes
<https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-create.md>
```bash
# --init creates a separate systemd environment. You won't be able to access the system's host processes.
distrobox create -i docker.io/library/debian --name test-debian
```