Enable system image x86

This commit is contained in:
butomo1989
2017-01-23 17:25:21 +01:00
parent d62d90b47e
commit 6d90d6874b
4 changed files with 53 additions and 23 deletions
+12 -1
View File
@@ -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
#===================