ensure unit test ci can write /usr/local

Certain repos like openpower-debug-collector generate their error files
on the fly during build time. These are installed into
/usr/local/share/phosphor-dbus-yaml/ sub-directories.

Without this change, this is happening:

/home/jenkins-op/workspace/ci-repository/openbmc/openpower-debug-collector > make -j 80 -l 80 -O
cp: cannot create regular file '/usr/local/share/phosphor-dbus-yaml/yaml/org/open_power/Host/Boot.errors.yaml': Permission denied

Since this is just a docker container and /usr/local is not persisted,
give permission to all of /usr/local of the ID running the script.

Tested:
- Verified openpower-debug-collector repo now passes CI

Change-Id: Iea1e89f017e9128b0c538392302b177b7c7d600d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/scripts/build-unit-test-docker b/scripts/build-unit-test-docker
index 0ee4fda..8b0740c 100755
--- a/scripts/build-unit-test-docker
+++ b/scripts/build-unit-test-docker
@@ -847,6 +847,10 @@
 RUN sed -i '1iDefaults umask=000' /etc/sudoers
 RUN echo "{username} ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
 
+# Ensure user has ability to write to /usr/local for different tool
+# and data installs
+RUN chown -R {username}:{username} /usr/local
+
 {proxy_cmd}
 
 RUN /bin/bash