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 install -y openssh-server
  #RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
  #RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
  RUN echo 'root:123456' | chpasswd
  RUN sed -ri 's/^PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config
  RUN sed -ri 's/UsePAM yes/#UsePAM yes/g' /etc/ssh/sshd_config
  
  # copy enterpoint script
  CP entrypoint.sh /entrypoint.sh
  RUN chmod +x /entrypoint.sh
  
  EXPOSE 22
  
  