#!/bin/bash
set -x
set -e
docker build -t openroad/openroad --target base-dependencies .
echo "User is ${USER} $(id -u ${USER})"
docker run -u ${USER} -v $(pwd):/OpenROAD openroad/openroad bash -c "./OpenROAD/jenkins/install.sh"

#!/bin/bash
set -x
set -e
docker build -t openroad/openroad --target base-dependencies .
echo "User is ${USER} $(id -u ${USER})"
docker run -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd):/OpenROAD openroad/openroad bash -c "./OpenROAD/jenkins/install.sh"

Revert "try user name not uid"
Revert "try user name not uid"

This reverts commit ee16ae9acd42ad5034e6f6f0a6ed5d0a8df9a250.
