Alien-XGBoost

 view release on metacpan or  search on metacpan

xgboost/tests/ci_build/entrypoint.sh  view on Meta::CPAN

  rm /this_is_writable_file_system
fi

if [[ -n $CI_BUILD_UID ]] && [[ -n $CI_BUILD_GID ]]; then
    groupadd -o -g "${CI_BUILD_GID}" "${CI_BUILD_GROUP}"
    useradd -o -m -g "${CI_BUILD_GID}" -u "${CI_BUILD_UID}" \
        "${CI_BUILD_USER}"
    export HOME="/home/${CI_BUILD_USER}"
    shopt -s dotglob
    cp -r /root/* "$HOME/"
    chown -R "${CI_BUILD_UID}:${CI_BUILD_GID}" "$HOME"

    # Allows project-specific customization
    if [[ -e "/workspace/.pre_entry.sh" ]]; then
        gosu "${CI_BUILD_UID}:${CI_BUILD_GID}" /workspace/.pre_entry.sh
    fi

    # Enable passwordless sudo capabilities for the user
    chown root:"${CI_BUILD_GID}" "$(which gosu)"
    chmod +s "$(which gosu)"; sync

    exec gosu "${CI_BUILD_UID}:${CI_BUILD_GID}" "${COMMAND[@]}"
else
    exec "${COMMAND[@]}"
fi



( run in 0.898 second using v1.01-cache-2.11-cpan-71847e10f99 )