Relogin to set some env var

e.g. $USER is not set without that
This commit is contained in:
Mathieu Maret 2015-06-11 10:39:48 +02:00
parent f2cb2e7428
commit f232a32c7f

View File

@ -40,3 +40,6 @@ ENV CCACHE_DIR /tmp/ccache
# Work in the build directory, repo is expected to be init'd here
USER aosp
WORKDIR /aosp
#Relogin to set env var such as USER
CMD sudo -i -u aosp