Set default chromedriver version
This commit is contained in:
parent
b40ec48136
commit
ccfdef4fe8
|
@ -89,6 +89,7 @@ ARG PROCESSOR=x86
|
||||||
ARG SYS_IMG=x86
|
ARG SYS_IMG=x86
|
||||||
ARG IMG_TYPE=google_apis
|
ARG IMG_TYPE=google_apis
|
||||||
ARG BROWSER=android
|
ARG BROWSER=android
|
||||||
|
ARG CHROME_DRIVER=2.40
|
||||||
ENV ANDROID_VERSION=$ANDROID_VERSION \
|
ENV ANDROID_VERSION=$ANDROID_VERSION \
|
||||||
API_LEVEL=$API_LEVEL \
|
API_LEVEL=$API_LEVEL \
|
||||||
PROCESSOR=$PROCESSOR \
|
PROCESSOR=$PROCESSOR \
|
||||||
|
@ -97,6 +98,7 @@ ENV ANDROID_VERSION=$ANDROID_VERSION \
|
||||||
BROWSER=$BROWSER \
|
BROWSER=$BROWSER \
|
||||||
CHROME_DRIVER=$CHROME_DRIVER
|
CHROME_DRIVER=$CHROME_DRIVER
|
||||||
ENV PATH ${PATH}:${ANDROID_HOME}/build-tools
|
ENV PATH ${PATH}:${ANDROID_HOME}/build-tools
|
||||||
|
|
||||||
RUN yes | sdkmanager --licenses && \
|
RUN yes | sdkmanager --licenses && \
|
||||||
sdkmanager "platforms;android-${API_LEVEL}" "system-images;android-${API_LEVEL};${IMG_TYPE};${SYS_IMG}" "emulator"
|
sdkmanager "platforms;android-${API_LEVEL}" "system-images;android-${API_LEVEL};${IMG_TYPE};${SYS_IMG}" "emulator"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue