integcli: run build tests in tmpdir

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Merge pull request #8088 from unclejack/integcli-keep_permissions

integcli: run inaccessible context test in tmpdir