fix: update Dockerfile and entrypoint script for improved tool installation and configuration

This commit is contained in:
2026-03-09 19:30:16 +07:00
parent 7aa72c8719
commit ff584e8722
4 changed files with 27 additions and 13 deletions

View File

@@ -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