Created
June 10, 2016 21:34
-
-
Save c3s4r/69e248dc982aad728bc461e83b549be8 to your computer and use it in GitHub Desktop.
Cambios a docker para que funcione el emulador
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN cp -r ${ANDROID_HOME}/tools ${ANDROID_HOME}/tools2 \ | |
&& ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | ${ANDROID_HOME}/tools2/android update sdk --no-ui \ | |
&& ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | ${ANDROID_HOME}/tools2/android update sdk --no-ui --filter sys-img-armeabi-v7a-android-23,sys-img-x86_64-android-23 \ | |
&& rm -rf /opt/android-sdk-linux/tools \ | |
&& unzip /opt/android-sdk-linux/temp/tools_*.zip -d /opt/android-sdk-linux \ | |
&& rm -rf /opt/android-sdk-linux/temp/* \ | |
&& rm -rf ${ANDROID_HOME}/tools2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment