anchor.diff:  	\
   	rm -r /usr/src/redis; \
   	\
  -	apk del .build-deps
  +	runDeps="$( \
  +		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
  +			| tr ',' '\n' \
  +			| sort -u \
  +			| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
  +	)"; \
  +	apk add --virtual .redis-rundeps $runDeps; \
  +	apk del .build-deps; \
  +	\
  +	redis-server --version
   
   RUN mkdir /data && chown redis:redis /data
   VOLUME /data
  
positive.code: 	apk add --no-cache --virtual .build-deps \
  		coreutils \
  		gcc \
  		linux-headers \
  		make \
  		musl-dev \
  
negative.code: FROM easypi/alpine-arm:3.8
  
  # add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
  RUN addgroup -S redis && adduser -S -G redis redis
  
  # grab su-exec for easy step-down from root
  RUN apk add --no-cache 'su-exec>=0.2'
  
  ENV REDIS_VERSION 4.0.10
  ENV REDIS_DOWNLOAD_URL http://download.redis.io/releases/redis-4.0.10.tar.gz
  ENV REDIS_DOWNLOAD_SHA 1db67435a704f8d18aec9b9637b373c34aa233d65b6e174bdac4c1b161f38ca4
  
  # for redis-sentinel see: http://redis.io/topics/sentinel
  RUN set -ex; \
  