mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2026-05-18 07:40:36 +00:00
25 lines
552 B
Bash
Executable File
25 lines
552 B
Bash
Executable File
#!/bin/bash -e
|
||
|
||
BLUE='\E[1;34m'
|
||
CYAN='\E[1;36m'
|
||
YELLOW='\E[1;33m'
|
||
GREEN='\E[1;32m'
|
||
RESET='\E[0m'
|
||
|
||
echo -e "${BLUE}❯ ${CYAN}Installing OpenResty ${YELLOW}${OPENRESTY_VERSION}...${RESET}"
|
||
|
||
cd /tmp/openresty
|
||
make install
|
||
rm -rf /tmp/openresty
|
||
|
||
echo -e "${BLUE}❯ ${GREEN}OpenResty install completed${RESET}"
|
||
|
||
echo -e "${BLUE}❯ ${CYAN}Installing OpenResty plugins...${RESET}"
|
||
|
||
cd /
|
||
luarocks install lua-cjson
|
||
luarocks install lua-resty-openidc
|
||
#luarocks install lua-resty-http
|
||
|
||
echo -e "${BLUE}❯ ${GREEN}OpenResty plugins install completed${RESET}"
|