We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c71283 + 7132f28 commit 0bd589eCopy full SHA for 0bd589e
docker/ir-cli/Dockerfile
@@ -1,4 +1,18 @@
1
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
16
COPY _build/sir /sir
17
COPY ir_example/hello_world.ir /sir/example/hello_world.ir
18
0 commit comments