tests/docker/run: don't source /etc/profile
commitbcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 26 Sep 2017 13:36:22 +0000 (26 14:36 +0100)
committerFam Zheng <famz@redhat.com>
Fri, 29 Sep 2017 03:14:15 +0000 (29 11:14 +0800)
tree9ce07a0b63809c0264d8f9fed01c6dc28c1d3cb8
parent299d296ea90cca388b3a1fb316c797da5b6a6708
tests/docker/run: don't source /etc/profile

The usual behaviour of /etc/profile is to set the default PATH for
users. This runs into problems when we have updated PATH in our
dockerfile e.g. to access a cross-compiler in a non-standard
location. It shouldn't be needed anyway as we inherit the env from the
image when it was setup.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
CC: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170926133622.14991-1-alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
tests/docker/run