1 Star 0 Fork 0

晚茶/pkg-fetch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile.linux 630 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM oraclelinux:7
USER root:root
WORKDIR /root/pkg-fetch/
RUN yum install -y oracle-softwarecollection-release-el7
RUN yum-config-manager --enable ol7_latest ol7_optional_latest software_collections
RUN yum upgrade -y
RUN yum install -y \
devtoolset-10 glibc-headers kernel-headers \
make patch python2 \
rh-python36-python
RUN curl -fsSL https://rpm.nodesource.com/setup_lts.x | bash -
RUN yum install -y nodejs
RUN npm install -g yarn
COPY . ./
ARG PKG_FETCH_OPTION_n
RUN yarn install
RUN scl enable devtoolset-10 rh-python36 \
" \
yarn start --node-range $PKG_FETCH_OPTION_n --output dist \
"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/late-tea/pkg-fetch.git
git@gitee.com:late-tea/pkg-fetch.git
late-tea
pkg-fetch
pkg-fetch
main

搜索帮助