anchor.diff:      apt-get install -y \
        wget \
        gcc \
  -     make \
  -     && \
  +     make && \
  +    apt-get clean && \
       wget -q http://download.redis.io/releases/redis-${REDIS_VERSION}.tar.gz && \
       tar -zxvf redis-${REDIS_VERSION}.tar.gz && \
       mv redis-${REDIS_VERSION} redis-src && \
  
positive.code: FROM ubuntu:latest
  
  ENV REDIS_VERSION 3.0.6
  ENV REDIS_HOME /opt/redis
  
  WORKDIR ${REDIS_HOME}
  
  
negative.code:     make && \
      make PREFIX=${REDIS_HOME} install
  
  RUN chown -R redis.redis ${REDIS_HOME} && \
      chown -R redis.redis /opt/redis-src
  
  USER redis
  
  EXPOSE 6379
  
  ENTRYPOINT ["/opt/redis/bin/redis-server"]
  