keep env avec using sudo

This commit is contained in:
Mathieu Maret 2017-01-19 14:45:50 +01:00
parent e7b9c77d4a
commit 94fdbf6d66
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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