代码拉取完成,页面将自动刷新
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 \
"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。