Skip to content

Commit 0bd589e

Browse files
authored
Merge pull request #46 from AntChainOpenLabs/release_ci_update
update: release ci
2 parents 1c71283 + 7132f28 commit 0bd589e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docker/ir-cli/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
FROM centos:centos8
2+
3+
RUN curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo
4+
RUN sed -i -e"s|mirrors.cloud.aliyuncs.com|mirrors.aliyun.com|g " /etc/yum.repos.d/CentOS-*
5+
RUN sed -i -e "s|releasever|releasever-stream|g" /etc/yum.repos.d/CentOS-*
6+
RUN yum clean all && yum makecache
7+
8+
RUN dnf module list nodejs
9+
RUN dnf module -y enable nodejs:16
10+
RUN dnf module -y install nodejs:16/common
11+
12+
COPY package.json package.json
13+
RUN npm --version
14+
RUN npm install
15+
216
COPY _build/sir /sir
317
COPY ir_example/hello_world.ir /sir/example/hello_world.ir
418

0 commit comments

Comments
 (0)