mirror of
https://github.com/HQarroum/docker-android.git
synced 2026-07-30 03:12:18 +00:00
+1
-1
@@ -64,7 +64,7 @@ RUN mkdir /root/.android/ && \
|
||||
mkdir /data
|
||||
|
||||
# Exporting ADB keys.
|
||||
#COPY keys/* /root/.android/
|
||||
COPY keys/* /root/.android/
|
||||
|
||||
# The following layers will download the Android command-line tools
|
||||
# to install the Android SDK, emulator and system images.
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ RUN mkdir /root/.android/ && \
|
||||
mkdir /data
|
||||
|
||||
# Exporting ADB keys.
|
||||
#COPY keys/* /root/.android/
|
||||
COPY keys/* /root/.android/
|
||||
|
||||
# The following layers will download the Android command-line tools
|
||||
# to install the Android SDK, emulator and system images.
|
||||
|
||||
@@ -149,7 +149,7 @@ docker build \
|
||||
```
|
||||
|
||||
### Variables
|
||||
## Default variables
|
||||
#### Default variables
|
||||
|
||||
#### Disable animation
|
||||
DISABLE_ANIMATION=false
|
||||
|
||||
@@ -62,10 +62,10 @@ wait_for_boot &
|
||||
# Start the emulator with no audio, no GUI, and no snapshots.
|
||||
echo "Starting the emulator ..."
|
||||
echo "OPTIONS:"
|
||||
echo "ADB AUTH - $OPT_SKIP_AUTH"
|
||||
echo "GPU - $GPU_MODE"
|
||||
echo "MEMORY - $OPT_MEMORY"
|
||||
echo "CORES - $OPT_CORES"
|
||||
echo "SKIP ADB AUTH - $OPT_SKIP_AUTH"
|
||||
echo "GPU - $GPU_MODE"
|
||||
echo "MEMORY - $OPT_MEMORY"
|
||||
echo "CORES - $OPT_CORES"
|
||||
emulator \
|
||||
-avd android \
|
||||
-gpu "$GPU_MODE" \
|
||||
|
||||
Reference in New Issue
Block a user