anchor.diff:  ENV ANDROID_HOME /opt/android-sdk-linux
   ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
   
  -#RUN ["/opt/sdk-tools/android-accept-licenses.sh", "android update sdk --filter tools --no-ui --force -a --proxy-host 192.168.1.7 --proxy-port 7070"]
  -#RUN ["/opt/sdk-tools/android-accept-licenses.sh", "android update sdk --filter platform-tools --no-ui --force -a --proxy-host 192.168.1.7 --proxy-port 7070"]
  -#RUN ["/opt/sdk-tools/android-accept-licenses.sh", "android update sdk --filter \"build-tools-23.0.2\" --no-ui --force -a --proxy-host 192.168.1.7 --proxy-port 7070"]
  -#RUN ["/opt/sdk-tools/android-accept-licenses.sh", "android update sdk --filter \"extra-android-support\" --no-ui --force -a --proxy-host 192.168.1.7 --proxy-port 7070"]
  -#RUN ["/opt/sdk-tools/android-accept-licenses.sh", "android update sdk --filter \"android-23\" --no-ui --force -a --proxy-host 192.168.1.7 --proxy-port 7070"]
  -#RUN ["/opt/sdk-tools/android-accept-licenses.sh", "android update sdk --filter \"extra-android-m2repository\" --no-ui --force -a --proxy-host 192.168.1.7 --proxy-port 7070"]
  -#RUN ["/opt/sdk-tools/android-accept-licenses.sh", "android update sdk --filter \"extra-google-m2repository\" --no-ui --force -a --proxy-host 192.168.1.7 --proxy-port 7070"]
  +ARG ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS=
   
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter tools --no-ui --force -a ${ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS}
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter platform-tools --no-ui --force -a ${ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS}
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter \"build-tools-23.0.2\" --no-ui --force -a ${ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS}
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter \"extra-android-support\" --no-ui --force -a ${ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS}
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter \"android-23\" --no-ui --force -a ${ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS}
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter \"extra-android-m2repository\" --no-ui --force -a ${ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS}
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter \"extra-google-m2repository\" --no-ui --force -a ${ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS}
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter \"android-17\" --no-ui --force -a ${ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS}
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter \"android-17\" --no-ui --force -a ${ANDROID_SDK_UPDATE_ADDITIONAL_PARAMS}
  +RUN echo y | /opt/android-sdk-linux/tools/android update sdk --filter \"android-19\" --no-ui --force -a
   
  -#RUN ["/opt/sdk-tools/android-accept-licenses.sh", "android update sdk --filter \"android-17\" --no-ui --force -a --proxy-host 192.168.1.7 --proxy-port 7070"]
  -#RUN ["/opt/sdk-tools/android-accept-licenses.sh", "android update sdk --filter \"android-19\" --no-ui --force -a --proxy-host 192.168.1.7 --proxy-port 7070"]
   
   # install gradle
   ARG GRADLE_VERSION=2.14.1
  
positive.code: 
  VOLUME /workspace
  WORKDIR /workspace
  
negative.code: RUN apt-get update
  RUN apt-get install -y wget curl unzip
  
  # install Android SDK dependencies
  RUN apt-get install -y openjdk-7-jre-headless lib32z1 lib32ncurses5 lib32bz2-1.0 g++-multilib unzip
  RUN apt-get install -y expect
  RUN apt-get install -y --no-install-recommends maven
  
  # Main Android SDK
  #RUN wget -qO- "http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz" | tar -zxv -C /opt/
  # RUN echo y | /opt/android-sdk-linux/tools/android update sdk --all --filter platform-tools,build-tools-20.0.0 --no-ui --force --proxy-host 192.168.1.7 --proxy-port 7070
  