Hello! I'm trying to install Git, by the dagster_...
# dagster-plus
g
Hello! I'm trying to install Git, by the dagster_cloud_pre_install.sh. But it doesn't seem to run. It is included on the root of the directory (see image). It is also difficult to see if this runs. Any idea what is going wrong?
Copy code
#!/bin/bash

# Ensure the script is running as root
if [ "$(id -u)" -ne 0 ]; then
   echo "This script must be run as root" 1>&2
   exit 1
fi

# Update package lists to get information on the newest versions of packages and their dependencies
apt-get update -y

# Install git
apt-get install git -y

# Verify the installation and print the installed version
if command -v git >/dev/null 2>&1; then
    echo "Git has been successfully installed."
    git --version
else
    echo "Git installation failed." >&2
    exit 1
fi
BTW, I'm using the dagster cli to deploy this.