run qemu container with root permission

The QEMU application requires root access to utilize the standard ports.
These ports are not open outside of the docker subsystem (i.e. no
command line -p option) so the impact should be minimal.

Tested:
- Verified with this change that the run-qemu-robot-test.sh could
  complete successfully on CI infrastructure

Change-Id: I0e73c416af3bbdf6cfb17607097f974f5236d87e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/run-qemu-robot-test.sh b/run-qemu-robot-test.sh
index 93dfa33..05fb359 100755
--- a/run-qemu-robot-test.sh
+++ b/run-qemu-robot-test.sh
@@ -107,13 +107,14 @@
   # root in docker required to open up the https/ssh ports
   obmc_qemu_docker=$(docker run --detach \
                                 --rm \
+                                --user root \
                                 --env HOME="${OBMC_BUILD_DIR}" \
                                 --env QEMU_RUN_TIMER="${QEMU_RUN_TIMER}" \
                                 --env QEMU_ARCH="${QEMU_ARCH}" \
                                 --env QEMU_BIN="${QEMU_BIN}" \
                                 --env MACHINE="${MACHINE}" \
                                 --workdir "${OBMC_BUILD_DIR}"           \
-                                --volume "${UPSTREAM_WORKSPACE}":"${OBMC_BUILD_DIR}" \
+                                --volume "${UPSTREAM_WORKSPACE}":"${OBMC_BUILD_DIR}:ro" \
                                 --tty \
                                 "${DOCKER_IMG_NAME}" "${OBMC_BUILD_DIR}"/boot-qemu-test.exp)