#wget https://github.com/kvspb/nginx-auth-ldap/archive/refs/heads/master.zip && unzip -o master.zip && rm master.zip wget https://github.com/openresty/docker-openresty/archive/refs/heads/master.zip && unzip -o master.zip && rm master.zip docker build -t openrestyfet -f docker-openresty-master/alpine/Dockerfile \ --build-arg "RESTY_CONFIG_OPTIONS_MORE=--add-module=/tmp/nginx-auth-ldap-master" \ --build-arg "RESTY_EVAL_PRE_CONFIGURE=cd /tmp && wget https://github.com/kvspb/nginx-auth-ldap/archive/refs/heads/master.zip && unzip -o master.zip && rm master.zip && apk add --no-cache --virtual openldap-dev" --build-arg _RESTY_CONFIG_DEPS="--with-pcre \ --with-cc-opt='-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include' \ --with-ld-opt='-L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib'" \ .