mirror of
https://github.com/esauflores/toolbox.git
synced 2026-03-09 21:03:59 +00:00
24 lines
369 B
Bash
24 lines
369 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
rm -f /tools/.ready
|
|
|
|
mise ls --missing --json | jq -r 'to_entries[] | "\(.key)@\(.value[0].version)"' | while read -r tool; do
|
|
echo "Installing $tool..."
|
|
mise use -g "$tool"
|
|
done
|
|
|
|
mise upgrade
|
|
|
|
mise reshim
|
|
|
|
uv tool install ansible --with-executables-from ansible-core
|
|
|
|
mise reshim
|
|
|
|
chmod -R 755 /tools
|
|
|
|
touch /tools/.ready
|
|
|
|
exec "$@"
|