anchor.diff:  
   RUN mkdir /opt/opentsdb/
   WORKDIR /opt/opentsdb/
  -#Install OpenTSDB and scripts
  -RUN wget --no-check-certificate -O v${TSDB_VERSION}.zip https://github.com/OpenTSDB/opentsdb/archive/v${TSDB_VERSION}.zip && \
  -    unzip v${TSDB_VERSION}.zip && \
  -    rm v${TSDB_VERSION}.zip
  -WORKDIR /opt/opentsdb/opentsdb-${TSDB_VERSION}
  -RUN ./build.sh
  -
  -RUN apk del builddeps && rm -rf /var/cache/apk/*
  -
  +RUN apk --update add --virtual builddeps \
  +    build-base \
  +    autoconf \
  +    automake \
  +    git \
  +    python \
  +  && : Install OpenTSDB and scripts \
  +  && wget --no-check-certificate \
  +    -O v${TSDB_VERSION}.zip \
  +    https://github.com/OpenTSDB/opentsdb/archive/v${TSDB_VERSION}.zip \
  +  && unzip v${TSDB_VERSION}.zip \
  +  && rm v${TSDB_VERSION}.zip \
  +  && cd /opt/opentsdb/opentsdb-${TSDB_VERSION} \
  +  && ./build.sh \
  +  && : because of issue https://github.com/OpenTSDB/opentsdb/issues/707 \
  +  && : commented lines do not work. These can be uncommeted when version of \
  +  && : tsdb is bumped. Entrypoint will have to be updated too. \
  +  && : cd build \
  +  && : make install \
  +  && : cd / \
  +  && : rm -rf /opt/opentsdb/opentsdb-${TSDB_VERSION} \
  +  && apk del builddeps \
  +  && rm -rf /var/cache/apk/*
   
   #Install HBase and scripts
  -RUN mkdir -p /data/hbase
  -RUN mkdir -p /root/.profile.d
  -RUN mkdir -p /opt/downloads
  +RUN mkdir -p /data/hbase /root/.profile.d /opt/downloads
  +
   WORKDIR /opt/downloads
  -RUN wget -O hbase-${HBASE_VERSION}.bin.tar.gz http://www-us.apache.org/dist/hbase/1.1.3/hbase-1.1.3-bin.tar.gz && \
  +RUN wget -O hbase-${HBASE_VERSION}.bin.tar.gz http://archive.apache.org/dist/hbase/1.1.3/hbase-1.1.3-bin.tar.gz && \
       tar xzvf hbase-${HBASE_VERSION}.bin.tar.gz && \
       mv hbase-${HBASE_VERSION} /opt/hbase && \
       rm hbase-${HBASE_VERSION}.bin.tar.gz
  
positive.code: FROM janeczku/alpine-kubernetes:3.2
  
  RUN apk --update add rsyslog bash openjdk7 make wget
  
  RUN apk --update add --virtual builddeps build-base autoconf automake git python
  
  ENV TSDB_VERSION 2.2.0
  ENV HBASE_VERSION 1.1.3
  
negative.code: RUN ln -s /opt/bin/start_hbase.sh /etc/services.d/hbase/run
  RUN ln -s /opt/bin/start_opentsdb.sh /etc/services.d/tsdb/run
  
  EXPOSE 60000 60010 60030 4242 16010
  
  VOLUME ["/data/hbase", "/tmp"]
  