anchor.diff:  	adduser vault consul &&\
   	adduser root vault &&\
   # Cleanup
  -	rm -rf vault_${VAULT_VERSION}_* bifurcate_${BIFURCATE_VERSION}_linux_amd64.tar.gz
  +	apk del --purge ca-certificates gnupg wget &&\
  +	rm -rf vault_${VAULT_VERSION}_* bifurcate_${BIFURCATE_VERSION}_linux_amd64.tar.gz /root/.gnupg
   
   # Copy binaries. bin directory contains start_vault.sh vault-health.sh and consul-cli
   COPY bin/ /usr/local/bin
  
positive.code: # avoid filesystem performance issues with Docker image layers
  #VOLUME ["/data"]
  
  ENTRYPOINT ["bifurcate","/etc/bifurcate/bifurcate.json"]
  
negative.code: FROM mterron/consul
  MAINTAINER Miguel Terron <miguel.a.terron@gmail.com>
  
  ENV BIFURCATE_VERSION=0.5.0 \
  	VAULT_VERSION=0.8.0
  
  # Download Bifurcate
  RUN apk add --no-cache ca-certificates gnupg wget &&\
  	gpg --keyserver pgp.mit.edu --recv-keys 91A6E7F85D05C65630BEF18951852D87348FFC4C &&\
  	wget https://github.com/novilabs/bifurcate/releases/download/v${BIFURCATE_VERSION}/bifurcate_${BIFURCATE_VERSION}_linux_amd64.tar.gz &&\
  # Download Vault binary & integrity file
  	wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip &&\
  	wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_SHA256SUMS &&\
  	wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_SHA256SUMS.sig &&\
  # Install Bifurcate, Vault
  	tar xzf bifurcate_${BIFURCATE_VERSION}_linux_amd64.tar.gz -C /usr/local/bin/ &&\
  	gpg --batch --verify vault_${VAULT_VERSION}_SHA256SUMS.sig vault_${VAULT_VERSION}_SHA256SUMS &&\
  	grep "linux_amd64.zip" vault_${VAULT_VERSION}_SHA256SUMS | sha256sum -sc &&\
  	unzip -q -o vault_${VAULT_VERSION}_linux_amd64.zip -d /usr/local/bin/ &&\
  	setcap 'cap_ipc_lock=+ep' /usr/local/bin/vault &&\
  