anchor.diff:          zlib \
           zlib-dev \
           zstd \
  -        zstd-dev \        
  +        zstd-dev \
         # Install Tor from source, incl. GeoIP files (get latest release version number from Tor ReleaseNotes)
         && TOR_VERSION=$(wget -q https://gitweb.torproject.org/tor.git/plain/ReleaseNotes -O - | grep -m1  "Changes in version" | sed 's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*$/\1/') \
         && TOR_TARBALL_NAME="tor-${TOR_VERSION}.tar.gz" \
  
positive.code:       && ./configure \
        && make install \
        && ls -R /usr/local/
  
  FROM alpine:latest
  MAINTAINER Christian chriswayg@gmail.com
  
negative.code: # Copy Tor
  COPY --from=tor-build /usr/local/ /usr/local/
  
  # Create an unprivileged tor user
  RUN addgroup -g 19001 -S $TOR_USER && adduser -u 19001 -G $TOR_USER -S $TOR_USER
  
  