anchor.diff:      build-base \
       ca-certificates \
       gnupg \
  +    go \
       libcap-dev \
       libevent-dev \
       libressl-dev \
  
positive.code: FROM alpine:edge
  
  ARG TOR_VERSION=0.3.0.11
  
  # Build-time metadata as defined at http://label-schema.org
  ARG BUILD_DATE
  ARG VCS_REF
  LABEL org.label-schema.build-date=$BUILD_DATE \
    org.label-schema.name="docker-tor" \
    org.label-schema.description="Simple docker container for a tor node" \
  
negative.code:   org.label-schema.version=$TOR_VERSION \
    org.label-schema.schema-version="1.0"
  
  COPY --from=confd /go/bin/confd /usr/bin/confd
  ADD https://www.torproject.org/dist/tor-${TOR_VERSION}.tar.gz /tmp/
  ADD https://www.torproject.org/dist/tor-${TOR_VERSION}.tar.gz.asc /tmp/
  
  WORKDIR /tmp
  RUN \
    apk add --update \
      libcap \
      libevent \
      su-exec \
  