Switch User in Docker

This commit is contained in:
Wetitpig 2019-02-21 09:05:58 +08:00 committed by Fredrik Fornwall
parent 1d45873050
commit c937ec7fa2

View File

@ -29,6 +29,9 @@ RUN apt-get update && \
cd /home/builder/lib/android-sdk/tools && \
rm -Rf emulator* lib* proguard templates
# Switch User
USER builder:builder
# We expect this to be mounted with '-v $PWD:/home/builder/termux-packages':
WORKDIR /home/builder/termux-packages