add tmux
This commit is contained in:
@@ -21,7 +21,8 @@ RUN pacman -S --noconfirm \
|
||||
python \
|
||||
python-pip \
|
||||
python-pipx \
|
||||
ansible
|
||||
ansible \
|
||||
tmux
|
||||
|
||||
# Ollama
|
||||
RUN curl -fsSL https://ollama.com/install.sh | sh
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Build latest image
|
||||
podman build \
|
||||
-t gitea.reeseapps.com/services/arch-toolbox:latest \
|
||||
@@ -9,4 +11,3 @@ podman container stop arch-toolbox-latest
|
||||
podman container rm arch-toolbox-latest
|
||||
# Start with the new image
|
||||
toolbox create -i gitea.reeseapps.com/services/arch-toolbox:latest
|
||||
SHELL=/bin/zsh toolbox enter
|
||||
6
infrastructure/graduated/fedora/arch-push.sh
Executable file
6
infrastructure/graduated/fedora/arch-push.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
podman image ls \
|
||||
-f 'reference=gitea.reeseapps.com/services/arch-toolbox:latest' \
|
||||
-n --no-trunc --format '{{ .Repository }}:{{ .Tag }}' \
|
||||
| xargs -I {} podman push {}
|
||||
@@ -236,6 +236,7 @@ I have a custom arch image based on the default arch-toolbox image. It offers:
|
||||
- aws cli
|
||||
- ollama (add `export OLLAMA_HOST=my.ollama.host` to your `.zshrc` to use a remote host)
|
||||
- podman (connected automatically to the host machine via the unix socket)
|
||||
- tmux
|
||||
|
||||
#### Using Reese's Arch Toolbox
|
||||
|
||||
@@ -289,3 +290,28 @@ podman image ls \
|
||||
-n --no-trunc --format '{{ .Repository }}:{{ .Tag }}' \
|
||||
| xargs -I {} podman push {}
|
||||
```
|
||||
|
||||
In vscode you can set this as your default build task for homelab and trigger it with
|
||||
`ctrl shift B`
|
||||
|
||||
.vscode/tasks.json
|
||||
|
||||
```json
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build arch-toolbox",
|
||||
"type": "shell",
|
||||
"command": "./infrastructure/graduated/fedora/arch-build.sh",
|
||||
"problemMatcher": [],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user