mirror of
https://github.com/kylemanna/docker-aosp
synced 2025-06-06 23:46:18 +00:00
entrypoint: Preserve ENV variables
A few ENV variables are set in the Docker file, most notably those related to ccache. The move to a docker entrypoint script called sudo to switch to the AOSP user and reset the ENV varibles. Preserve these variables so that things set in the Dockerfile are inherited by the environment as expected.
This commit is contained in:
parent
e6d066ea2e
commit
c2764be332
@ -45,4 +45,4 @@ fi
|
||||
|
||||
# Execute command as `aosp` user
|
||||
export HOME=/home/aosp
|
||||
exec sudo -u aosp $args
|
||||
exec sudo -E -u aosp $args
|
||||
|
Loading…
x
Reference in New Issue
Block a user