This commit is contained in:
2021-05-13 10:13:59 +00:00
parent d7a8a2e53c
commit 9ab91e4fd9
7 changed files with 261 additions and 1 deletions

9
archive/build2 Executable file
View File

@@ -0,0 +1,9 @@
#docker build -t openrestybase -f Dockerfile.base --build-arg RESTY_IMAGE_BASE=alpine .
docker build -t openresty-fet . --build-arg RESTY_IMAGE_BASE=openrestybase --build-arg RESTY_IMAGE_TAG=latest \
--build-arg "RESTY_CONFIG_OPTIONS_MORE=--add-module=/tmp/nginx-auth-ldap-master" \
--build-arg "RESTY_ADD_PACKAGE_BUILDDEPS=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 -L/usr/include -Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib'"
#--build-arg "RESTY_EVAL_PRE_CONFIGURE=apk add openldap-dev" \