mirror of
https://github.com/stucki/docker-lineageos
synced 2024-12-19 17:12:29 -05:00
Move environment variables to /etc/env-android.sh
This commit is contained in:
parent
4502de2ad2
commit
26e6bc2072
@ -31,8 +31,8 @@ RUN mkdir /home/cmbuild/bin
|
||||
RUN curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > /home/cmbuild/bin/repo
|
||||
RUN chmod a+x /home/cmbuild/bin/repo
|
||||
|
||||
RUN echo "export PATH=${PATH}:/home/cmbuild/bin" >> /etc/bash.bashrc
|
||||
RUN echo "export USE_CCACHE=1" >> /etc/bash.bashrc
|
||||
ADD android-env-vars.sh /etc/android-env-vars.sh
|
||||
RUN echo "source /etc/android-env-vars.sh" >> /etc/bash.bashrc
|
||||
|
||||
WORKDIR /home/cmbuild/android
|
||||
VOLUME /home/cmbuild/android
|
||||
|
2
android-env-vars.sh
Normal file
2
android-env-vars.sh
Normal file
@ -0,0 +1,2 @@
|
||||
export PATH=/home/cmbuild/bin:$PATH
|
||||
export USE_CCACHE=1
|
Loading…
Reference in New Issue
Block a user