anchor.diff:    libreadline-dev unzip gettext libtool automake autoconf \
     flex bison libglib2.0-dev zlib1g-dev texinfo rpm bzip2 libncurses5-dev \
     ccache gawk fakeroot xfslibs-dev swig pkg-config \
  -  autopoint ruby cmake doxygen default-jdk libnfs-dev
  -  #redhat-lsb glibc-static automake-1.11.3 autoconf-2.68
  +  autopoint ruby cmake doxygen default-jdk
   
   RUN wget -O /tmp/fossil.zip \
     http://www.fossil-scm.org/download/fossil-linux-x86-20140127173344.zip \
  
positive.code: 
  # old method
  #RUN git clone https://git.gitorious.org/open-duckbox-project-sh4/tdt.git
  #RUN wget -O/tmp/cdk.zip https://www.dropbox.com/s/fh5ae25j3nc03dq/cdk.zip
  #RUN unzip -d tdt/tdt/cvs/cdk -o /tmp/cdk.zip
  #WORKDIR tdt/tdt/cvs/cdk
  #RUN sed -i -e 's,ftp://,http://,' rules-archive
  
  # extra required packages
  #RUN mkdir /Archive && wget -O /Archive/pcre-8.30.tar.bz2 http://ftp.cs.stanford.edu/pub/exim/pcre/pcre-8.30.tar.bz2
  #RUN wget -O /Archive/tinyxml_2_6_2.tar.gz http://download.sf.net/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz
  
  RUN git clone https://github.com/dlintw/pdk7105-tdt && cd /pdk7105-tdt && git checkout pdk7105
  RUN cd /pdk7105-tdt/tdt/cvs/cdk && ./make.sh 20 4 y 2 1 2 1 2
  #RUN make yaud-xbmc-nightly
  
  #ENTRYPOINT ["/usr/sbin/sshd", "-D"]
  #EXPOSE 22
  
negative.code: # =====
  # mkdir -p /Archive # for keep downloaded sources
  # docker run -t -i -v /Archive:/Archive dlin/ubuntu-duckbox /bin/bash
  # cd /pdk7105-tdt/tdt/cvs/cdk 
  # git pull && git checkout pdk7150
  # # Assume you have 4 cpu cores, assign 5(=4+1) jobs to build.
  # make -j5 yaud-xbmc-nightly
  # In the REVISIONS menu, choose 5)Frodo_rc3
  
  FROM ubuntu:12.04
  MAINTAINER Daniel YC Lin <dlin.tw at gmail>
  
  RUN ln -sf /usr/share/zoninfo/Asia/Taipei /etc/localtime
  RUN ln -sf bash /bin/sh
  RUN apt-get update
  #RUN apt-get upgrade
  