mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-25 21:36:52 +08:00
15 lines
447 B
Bash
Executable File
15 lines
447 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Mark the current repository as safe for Git to prevent "dubious ownership" errors,
|
|
# which can occur in containerized environments when directory ownership doesn't match the current user.
|
|
git config --global --add safe.directory "$(realpath .)"
|
|
|
|
# Install `nc`
|
|
sudo apt update && sudo apt install netcat -y
|
|
|
|
# Install `uv` and `uvx`
|
|
wget -qO- https://astral.sh/uv/install.sh | sh
|
|
|
|
# Do common setup tasks
|
|
source .openhands/setup.sh
|