[PLAT-6280] Create "temp" folder with correct permissions and set environment variables
add repository and update tools version
add root dir definition to avoid compile error