mirror of
https://github.com/izzy2lost/docker-android.git
synced 2026-06-19 01:16:28 -07:00
Enable system image x86
This commit is contained in:
+12
-1
@@ -49,7 +49,6 @@ RUN echo y | android update sdk --no-ui --filter 2,3
|
||||
ENV PATH="${PATH}:${ANDROID_HOME}/platform-tools"
|
||||
ENV PATH="${PATH}:${ANDROID_HOME}/build-tools"
|
||||
RUN mv ${ANDROID_HOME}/tools/emulator ${ANDROID_HOME}/tools/emulator.backup
|
||||
RUN ln -s ${ANDROID_HOME}/tools/emulator64-arm ${ANDROID_HOME}/tools/emulator
|
||||
|
||||
#====================================
|
||||
# Install latest nodejs, npm, appium
|
||||
@@ -60,6 +59,12 @@ RUN apt-get install nodejs -y
|
||||
ENV APPIUM_VERSION 1.6.3
|
||||
RUN npm install -g appium@$APPIUM_VERSION
|
||||
|
||||
#============================================================
|
||||
# Install KVM for emulator x86
|
||||
# Source: https://help.ubuntu.com/community/KVM/Installation
|
||||
#============================================================
|
||||
RUN apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils -y
|
||||
|
||||
#======================
|
||||
# noVNC Configurations
|
||||
#======================
|
||||
@@ -73,6 +78,12 @@ ENV DISPLAY=:0 \
|
||||
TIMEOUT=1
|
||||
RUN ln -s noVNC/vnc_auto.html noVNC/index.html
|
||||
|
||||
#==============
|
||||
# Expose Ports
|
||||
#==============
|
||||
EXPOSE 4723
|
||||
EXPOSE 6080
|
||||
|
||||
#===================
|
||||
# Run docker-appium
|
||||
#===================
|
||||
|
||||
Reference in New Issue
Block a user