anchor.diff:      && rm -rf /var/cache/apk/* \
       && rm -rf /tmp/api-gateway
   
  -ENV OPM_VERSION 0.0.3
   RUN echo " ... installing opm..." \
       && mkdir -p /tmp/api-gateway \
       && curl -k -L https://github.com/openresty/opm/archive/v${OPM_VERSION}.tar.gz -o /tmp/api-gateway/opm-${OPM_VERSION}.tar.gz \
  
positive.code:     && cp lib/net/url.lua ${LUA_LIB_DIR} \
      && rm -rf /tmp/api-gateway
  
  ENV CJOSE_VERSION 0.5.1
  RUN echo " ... installing cjose ... " \
      && apk update && apk add automake autoconf git gcc make jansson jansson-dev \
      && mkdir -p /tmp/api-gateway \
  
negative.code:     && cd site \
      && ln -s ../lualib ./ \
      && ln -s ${_prefix}/api-gateway/bin/opm /usr/bin/opm \
      && ln -s ${_prefix}/api-gateway/bin/resty /usr/bin/resty \
      && rm -rf /tmp/api-gateway
  
      
  RUN echo " ... installing opm packages ... " \
      && opm get pintsized/lua-resty-http=${LUA_RESTY_HTTP_VERSION} \
                 hamishforbes/lua-resty-iputils=${LUA_RESTY_IPUTILS_VERSION} \
                 openresty/lua-resty-string=${LUA_RESTY_STRING_VERSION} \
                 openresty/lua-resty-lrucache=${LUA_RESTY_LRUCACHE_VERSION} \
                 taylorking/lua-resty-cjose=${LUA_RESTY_CJOSE_VERSION} \
                 taylorking/lua-resty-rate-limit
      
  RUN echo " ... installing neturl.lua ... " \
      && mkdir -p /tmp/api-gateway \
      && curl -k -L https://github.com/golgote/neturl/archive/${NETURL_LUA_VERSION}.tar.gz -o /tmp/api-gateway/neturl.lua-${NETURL_LUA_VERSION}.tar.gz \
  