11 Star 17 Fork 8

Gitee 极速下载/Orange-API-Gateway

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/sumory/orange
克隆/下载
Dockerfile 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
xiaowu 提交于 2022-08-01 16:10 . k8s容器化改造
FROM centos:7
WORKDIR /opt/orange
ENV LC_ALL zh_CN.utf8
RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& yum install -y wget \
# install epel, `luarocks` need it.
&& wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
&& rpm -ivh epel-release-latest-7.noarch.rpm \
# add openresty source
&& yum install -y yum-utils \
&& yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo \
# install openresty and some compilation tools
&& yum install -y openresty openresty-resty curl git make automake autoconf gcc pcre-devel openssl-devel libtool gcc-c++ luarocks cmake3 lua-devel git \
&& git clone https://gitee.com/dkdnet/lor.git \
&& cd lor \
&& make install \
&& ln -s /usr/bin/cmake3 /usr/bin/cmake \
&& yum -y install kde-l10n-Chinese \
&& yum -y reinstall glibc-common \
&& localedef -c -f UTF-8 -i zh_CN zh_CN.utf8
EXPOSE 9999 80 7777
COPY . .
CMD make dev && make install && resty bin/orange start && tail -f /opt/orange/logs/access.log
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Lua
1
https://gitee.com/mirrors/Orange-API-Gateway.git
git@gitee.com:mirrors/Orange-API-Gateway.git
mirrors
Orange-API-Gateway
Orange-API-Gateway
master

搜索帮助