Relogin to set some env var
e.g. $USER is not set without that
This commit is contained in:
parent
3aae115d61
commit
2a6c558040
@ -46,3 +46,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
|
||||
|
Loading…
Reference in New Issue
Block a user