keep env avec using sudo
This commit is contained in:
parent
e7b9c77d4a
commit
94fdbf6d66
@ -44,4 +44,4 @@ USER aosp
|
||||
WORKDIR /aosp
|
||||
|
||||
#Relogin to set env var such as USER
|
||||
CMD sudo -i -u aosp
|
||||
CMD sudo -E -iu aosp
|
||||
|
@ -38,4 +38,4 @@ USER aosp
|
||||
WORKDIR /aosp
|
||||
|
||||
#Relogin to set env var such as USER
|
||||
CMD sudo -iu aosp
|
||||
CMD sudo -E -iu aosp
|
||||
|
@ -49,4 +49,4 @@ USER aosp
|
||||
WORKDIR /aosp
|
||||
|
||||
#Relogin to set env var such as USER
|
||||
CMD sudo -i -u aosp
|
||||
CMD sudo -E -iu aosp
|
||||
|
Loading…
Reference in New Issue
Block a user