anchor.diff:      addgroup -S redis \
       && adduser -S -G redis redis
   
  -# environments for nginx
  +# environments for redis
   ENV REDIS_VERSION 4.0.2
   ENV REDIS_HOME /usr/local/redis
   ENV REDIS_DATA_DIR /var/redis
   
  -# install build deps and fetch/build/install nginx
  +# install build deps and fetch/build/install redis
   RUN set -ex \
       && apk update \
       && apk add --virtual .build-deps \
  
positive.code:     && export PREFIX="$REDIS_HOME" \
      \
      && grep -q '^#define CONFIG_DEFAULT_PROTECTED_MODE 1$' ./src/server.h \
      && sed -ri 's!^(#define CONFIG_DEFAULT_PROTECTED_MODE) 1$!\1 0!' ./src/server.h \
      && grep -q '^#define CONFIG_DEFAULT_PROTECTED_MODE 0$' ./src/server.h \
      \
      && make \
  
negative.code: # author
  MAINTAINER Wang <shadowman@shellboot.com>
  
  # China mirrors and create redis user and group
  RUN set -x \
      && country=`wget -T1 -q -O- google.com 2>&1 | sed -nr 's/.*(timed\ out).*/China/p'` \
      && if [ "$country" == "China" ]; then \
  