anchor.diff:      && 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 \
  
positive.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
  
  ENV LUA_RESTY_HTTP_VERSION 0.10
  RUN opm get pintsized/lua-resty-http=${LUA_RESTY_HTTP_VERSION}
  ENV LUA_RESTY_IPUTILS_VERSION 0.2.1
  RUN opm get hamishforbes/lua-resty-iputils=${LUA_RESTY_IPUTILS_VERSION}
  ENV LUA_RESTY_STRING_VERSION 0.09
  RUN opm get openresty/lua-resty-string=${LUA_RESTY_STRING_VERSION}
  ENV LUA_RESTY_LRUCACHE_VERSION 0.04
  RUN opm get openresty/lua-resty-lrucache=${LUA_RESTY_LRUCACHE_VERSION}
  ENV LUA_RESTY_CJOSE_VERSION 0.3
  RUN opm get taylorking/lua-resty-cjose=${LUA_RESTY_CJOSE_VERSION}
  RUN opm get taylorking/lua-resty-rate-limit
  
  
  ENV NETURL_LUA_VERSION 0.9-1
  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 \
  
negative.code:     && tar -xf /tmp/api-gateway/cjose-${CJOSE_VERSION}.tar.gz -C /tmp/api-gateway/ \
      && cd /tmp/api-gateway/cjose-${CJOSE_VERSION} \
      && sh configure \
      && make && make install \
      && rm -rf /tmp/api-gateway
  
  COPY init.sh /etc/init-container.sh
  ONBUILD COPY init.sh /etc/init-container.sh
  