Skip to content

Commit

Permalink
Merge pull request #46 from AntChainOpenLabs/release_ci_update
Browse files Browse the repository at this point in the history
update: release ci
  • Loading branch information
He1pa authored Feb 1, 2024
2 parents 1c71283 + 7132f28 commit 0bd589e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docker/ir-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
FROM centos:centos8

RUN curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo
RUN sed -i -e"s|mirrors.cloud.aliyuncs.com|mirrors.aliyun.com|g " /etc/yum.repos.d/CentOS-*
RUN sed -i -e "s|releasever|releasever-stream|g" /etc/yum.repos.d/CentOS-*
RUN yum clean all && yum makecache

RUN dnf module list nodejs
RUN dnf module -y enable nodejs:16
RUN dnf module -y install nodejs:16/common

COPY package.json package.json
RUN npm --version
RUN npm install

COPY _build/sir /sir
COPY ir_example/hello_world.ir /sir/example/hello_world.ir

Expand Down

0 comments on commit 0bd589e

Please sign in to comment.