1 Star 2 Fork 0

PolarisMesh / polaris-limiter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 771 Bytes
一键复制 编辑 原始数据 按行查看 历史
chuntaojun 提交于 2022-04-22 14:50 . feat: 支持kubernetes部署
FROM alpine:3.13.6
ENV BUILD_DEPS="gettext" \
RUNTIME_DEPS="libintl"
RUN sed -i 's!http://dl-cdn.alpinelinux.org/!https://mirrors.tencent.com/!g' /etc/apk/repositories
RUN set -eux && \
apk add tcpdump && \
apk add tzdata && \
apk add busybox-extras && \
apk add curl && \
apk add bash && \
apk add --update $RUNTIME_DEPS && \
apk add --virtual build_deps $BUILD_DEPS && \
cp /usr/bin/envsubst /usr/local/bin/envsubst && \
apk del build_deps && \
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo "Asia/Shanghai" > /etc/timezone && \
date
COPY polaris-limiter /root/polaris-limiter
COPY ./deploy/kubernetes/start-limiter.sh /root/start-limiter.sh
WORKDIR /root
CMD ["bash", "/root/start-limiter.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/polarismesh/polaris-limiter.git
git@gitee.com:polarismesh/polaris-limiter.git
polarismesh
polaris-limiter
polaris-limiter
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891