feat: cleanup .local/bin
This commit is contained in:
parent
757b759b4a
commit
87d37712dd
21 changed files with 69 additions and 86 deletions
16
.local/bin/ddev
Executable file
16
.local/bin/ddev
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
declare -A aliases
|
||||
aliases=(
|
||||
[arch]=archlinux/archlinux:base
|
||||
[debian]=debian:12-slim
|
||||
)
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
img="${aliases[$1]:-$1:latest}"
|
||||
|
||||
set -x
|
||||
podman run --rm -it -v "$PWD:/mnt/" -w /mnt/ "docker.io/$img"
|
Loading…
Add table
Add a link
Reference in a new issue