anchor.diff:    rm -r \
       /usr/src/* \
       /usr/pkg/* \
  +    /usr/lib/go \
       /usr/bin/go-bindata
   
   VOLUME ["/var/lib/gitea", "/etc/ssh/keys"]
  
positive.code: RUN apk update && \
    apk add \
      build-base \
      git \
      go \
      openssh && \
    groupadd -r -g 1000 git && \
    useradd -r -m -p '*' -d /var/lib/gitea -s /bin/bash -u 1000 -g git git && \
    git clone -b ${GITEA_BRANCH} ${GITEA_REPO} ${GOPATH}/src/${GITEA_PATH} && \
    cd ${GOPATH}/src/${GITEA_PATH} && \
    go get -d ${GITEA_PATH}/... && \
    TAGS=cert,sqlite go run make.go deps bindata install && \
    apk del build-base go && \
  
negative.code: EXPOSE 3000 22
  
  WORKDIR /root
  CMD ["/bin/s6-svscan", "/etc/s6"]
  