-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove openldap dependencies from apisix
- Loading branch information
Showing
11 changed files
with
10 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,6 @@ RUN set -x \ | |
pkgconfig \ | ||
cmake \ | ||
git \ | ||
openldap-dev \ | ||
pcre-dev \ | ||
sudo \ | ||
&& cd apisix \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ function install_dependencies_with_aur() { | |
function install_dependencies_with_yum() { | ||
sudo yum install -y yum-utils | ||
|
||
local common_dep="curl wget git gcc openresty-openssl111-devel unzip pcre pcre-devel openldap-devel" | ||
local common_dep="curl wget git gcc openresty-openssl111-devel unzip pcre pcre-devel" | ||
if [ "${1}" == "centos" ]; then | ||
# add APISIX source | ||
local apisix_pkg=apache-apisix-repo-1.0-1.noarch | ||
|
@@ -84,13 +84,13 @@ function install_dependencies_with_apt() { | |
sudo apt-get update | ||
|
||
# install OpenResty and some compilation tools | ||
sudo apt-get install -y git openresty curl openresty-openssl111-dev make gcc libpcre3 libpcre3-dev libldap2-dev unzip | ||
sudo apt-get install -y git openresty curl openresty-openssl111-dev make gcc libpcre3 libpcre3-dev unzip | ||
} | ||
|
||
# Install dependencies on mac osx | ||
function install_dependencies_on_mac_osx() { | ||
# install OpenResty, etcd and some compilation tools | ||
brew install openresty/brew/openresty luarocks [email protected] wget curl git pcre openldap | ||
brew install openresty/brew/openresty luarocks [email protected] wget curl git pcre | ||
} | ||
|
||
# Identify the different distributions and call the corresponding function | ||
|