mirror of
https://github.com/esauflores/toolbox.git
synced 2026-03-09 21:03:59 +00:00
fix: update Dockerfile and entrypoint script for improved tool installation and configuration
This commit is contained in:
@@ -3,14 +3,19 @@ set -euo pipefail
|
||||
|
||||
rm -f /tools/.ready
|
||||
|
||||
mise ls --missing --json | jq -r 'keys[]' | while read -r tool; do
|
||||
mise install "$tool"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user