anchor.diff:  
   
   
  -# # # # ==== Consul
   
  -# ENV CONSUL_VER 0.6.3
  -
  -# RUN wget https://releases.hashicorp.com/consul/0.6.3/consul_0.6.3_linux_amd64.zip 
  -# RUN unzip consul_0.6.3_linux_amd64.zip -d $BIN_DIR
  -
  -# RUN consul --version
  -
  -# # test Consul (NB: stop with C-c)
  -# RUN consul agent -server -bootstrap -data-dir $CONSULTMP
  -# RUN curl localhost:8500/v1/catalog/nodes
   
   
   
  
positive.code: # # # === expose TCP/IP ports
  
  EXPOSE 22
  EXPOSE 80
  EXPOSE 2375  # 2376 for TLS
negative.code: 
  
  # # Set up environment variables
  ENV BIN_DIR $HOME/bin
  ENV SRC_DIR $HOME/src
  ENV TMP $HOME/tmp
  ENV CERTS_DIR $HOME/.certs
  ENV ETC $HOME/etc
  
  # # Create directories
  RUN mkdir -p $BIN_DIR
  RUN mkdir -p $SRC_DIR
  RUN mkdir -p $TMP
  RUN mkdir -p $CERTS_DIR
  RUN mkdir -p $ETC
  
  
  
  # # augment PATH
  ENV PATH $BIN_DIR:$PATH
  