anchor.diff:      deb.torproject.org-keyring \
       obfs4proxy && \
     mv -v /etc/tor/torrc /etc/tor/torrc.default && \
  +  obfs4proxy -version && \
     # Download GeoIP files
  -  cd /etc/tor && \
  +  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 ./config/torrc /etc/tor/torrc
  -
  -# Debug
  -RUN cat /etc/tor/torrc
  +COPY ./torrc /etc/tor/torrc
   
   # Copy docker-entrypoint
   COPY ./scripts/ /usr/local/bin/
  
positive.code: # Persist data
  VOLUME /etc/tor /var/lib/tor
  
  # ORPort, DirPort, ObfsproxyPort
  EXPOSE 9001 9030 54444
  
  ENTRYPOINT ["docker-entrypoint"]
  
  
negative.code: ARG DEBIAN_FRONTEND=noninteractive
  
  # If no Nickname is set, a random string will be added to 'Tor4'
  ENV TOR_USER=debian-tor \
      TOR_NICKNAME=Tor4 \
      TERM=xterm
  
  # Install prerequisites
  