anchor.diff:  
   MAINTAINER Guillaume Simonneau <simonneaug@gmail.com>
   LABEL Description="elasticsearch searchguard search-guard"
  -
  -EXPOSE 9200 9300
   
   # grab gosu for easy step-down from root
   ENV GOSU_VERSION 1.7
  
positive.code: VOLUME /usr/hare/elasticsearch/config
  VOLUME /usr/hare/elasticsearch/data
  
  # env
  ENV CLUSTER_NAME="elasticsearch-default" \
      MINIMUM_MASTER_NODES=1 \
  
negative.code: WORKDIR /usr/share/elasticsearch
  
  # install modules
  RUN bin/elasticsearch-plugin install -b com.floragunn:search-guard-5:5.3.0-11
  
  RUN set -ex \
  	&& for path in \
  