mirror of
https://github.com/HQarroum/docker-android.git
synced 2026-07-30 03:12:18 +00:00
Add GPU support on test feature
This commit is contained in:
@@ -20,6 +20,9 @@ RUN apk update && \
|
||||
libvirt-daemon \
|
||||
dbus \
|
||||
polkit \
|
||||
mesa \
|
||||
mesa-dev \
|
||||
mesa-gl \
|
||||
virt-manager && \
|
||||
# Compile `redir`.
|
||||
gcc /usr/src/redir.c -o /usr/bin/redir && \
|
||||
|
||||
@@ -34,6 +34,7 @@ wait_for_boot &
|
||||
echo "Starting the emulator ..."
|
||||
emulator \
|
||||
-avd android \
|
||||
-gpu swiftshader_indirect \
|
||||
-noaudio \
|
||||
-no-boot-anim \
|
||||
-no-window \
|
||||
|
||||
Reference in New Issue
Block a user