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