anchor.diff:  # Dockerfile for Tor Relay Server with obfs4proxy
  -#
  +
   FROM debian:stretch-slim
   MAINTAINER Christian chriswayg@gmail.com
   
  
positive.code: # Persist data
  VOLUME /etc/tor /var/lib/tor
  
  # ORPort, DirPort, ObfsproxyPort
  EXPOSE 9001 9030 54444
  
  ENTRYPOINT ["docker-entrypoint"]
  
  
negative.code:     deb.torproject.org-keyring \
      obfs4proxy && \
    mv -v /etc/tor/torrc /etc/tor/torrc.default && \
    obfs4proxy -version && \
    # Download GeoIP files
    cd /usr/share && \
    apt-get -d source tor && \
    tar --strip-components=3 --wildcards -zxvf tor_*.orig.tar.gz tor-*/src/config/geoip && \
    tar --strip-components=3 --wildcards -zxvf tor_*.orig.tar.gz tor-*/src/config/geoip6 && \
    rm -v tor_* && \
    apt-get clean && rm -rf /var/lib/apt/lists/*
  
  
  
  # Debian creates an unprivileged tor user
  # debian-tor
  
  
  # Copy Tor configuration file
  COPY ./torrc /etc/tor/torrc
  
  # Copy docker-entrypoint
  COPY ./scripts/ /usr/local/bin/
  