2 Star 5 Fork 2

Gitee 极速下载 / Pingap

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/vicanso/pingap
克隆/下载
Dockerfile 676 Bytes
一键复制 编辑 原始数据 按行查看 历史
vicanso 提交于 2024-05-11 09:36 . chore: update pingora version to 0.2.0
FROM node:20-alpine as webbuilder
COPY . /pingap
RUN apk update \
&& apk add git make \
&& cd /pingap \
&& make build-web
FROM rust as builder
COPY --from=webbuilder /pingap /pingap
RUN apt update \
&& apt install -y cmake libclang-dev wget gnupg ca-certificates lsb-release protobuf-compiler --no-install-recommends
RUN rustup target list --installed
RUN cd /pingap \
&& make release
FROM ubuntu:22.04
EXPOSE 7001
COPY --from=builder /pingap/target/release/pingap /usr/local/bin/pingap
COPY --from=builder /pingap/entrypoint.sh /entrypoint.sh
USER ubuntu
WORKDIR /home/ubuntu
CMD ["pingap", "-c", "/home/rust/pingap/conf"]
ENTRYPOINT ["/entrypoint.sh"]
Rust
1
https://gitee.com/mirrors/Pingap.git
git@gitee.com:mirrors/Pingap.git
mirrors
Pingap
Pingap
main

搜索帮助