From c43111846558e1c825e6e87532dd2c34ef941f35 Mon Sep 17 00:00:00 2001 From: butomo1989 Date: Tue, 18 Jul 2017 12:06:38 +0200 Subject: [PATCH] Using the latest image version of appium-docker-android --- docker/Emulator_arm | 8 +++----- docker/Emulator_x86 | 8 +++----- docker/Real_device | 2 +- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/docker/Emulator_arm b/docker/Emulator_arm index e3fcead..a380da3 100644 --- a/docker/Emulator_arm +++ b/docker/Emulator_arm @@ -1,4 +1,4 @@ -FROM appium/appium:1.6.6-beta-p0 +FROM appium/appium:1.6.6-beta-p1 LABEL maintainer "Budi Utomo " @@ -80,10 +80,8 @@ ENV ANDROID_VERSION=$ANDROID_VERSION \ IMG_TYPE=$IMG_TYPE \ BROWSER=$BROWSER ENV PATH ${PATH}:${ANDROID_HOME}/build-tools - -RUN rm ${ANDROID_HOME}/tools/emulator \ - && ln -s ${ANDROID_HOME}/tools/emulator64-${PROCESSOR} ${ANDROID_HOME}/tools/emulator -RUN echo y | android update sdk --no-ui -a -t android-${API_LEVEL},sys-img-${SYS_IMG}-${IMG_TYPE}-${API_LEVEL} +RUN sdkmanager "platforms;android-${API_LEVEL}" +RUN sdkmanager "system-images;android-${API_LEVEL};${IMG_TYPE};${SYS_IMG}" #============================================== # Download chrome driver v2.26 diff --git a/docker/Emulator_x86 b/docker/Emulator_x86 index 2de1fee..476ba38 100644 --- a/docker/Emulator_x86 +++ b/docker/Emulator_x86 @@ -1,4 +1,4 @@ -FROM appium/appium:1.6.6-beta-p0 +FROM appium/appium:1.6.6-beta-p1 LABEL maintainer "Budi Utomo " @@ -93,10 +93,8 @@ ENV ANDROID_VERSION=$ANDROID_VERSION \ IMG_TYPE=$IMG_TYPE \ BROWSER=$BROWSER ENV PATH ${PATH}:${ANDROID_HOME}/build-tools - -RUN rm ${ANDROID_HOME}/tools/emulator \ - && ln -s ${ANDROID_HOME}/tools/emulator64-${PROCESSOR} ${ANDROID_HOME}/tools/emulator -RUN echo y | android update sdk --no-ui -a -t android-${API_LEVEL},sys-img-${SYS_IMG}-${IMG_TYPE}-${API_LEVEL} +RUN sdkmanager "platforms;android-${API_LEVEL}" +RUN sdkmanager "system-images;android-${API_LEVEL};${IMG_TYPE};${SYS_IMG}" #============================================== # Download chrome driver v2.26 diff --git a/docker/Real_device b/docker/Real_device index f208f71..077183f 100644 --- a/docker/Real_device +++ b/docker/Real_device @@ -1,4 +1,4 @@ -FROM appium/appium:1.6.6-beta-p0 +FROM appium/appium:1.6.6-beta-p1 LABEL maintainer "Budi Utomo "