diff options
| author | zy <[email protected]> | 2023-12-05 02:41:55 -0500 |
|---|---|---|
| committer | zy <[email protected]> | 2023-12-05 02:41:55 -0500 |
| commit | 520f8db7e58b96276106e0f9b95639307b0beb89 (patch) | |
| tree | 94ddb9bbb180c0504eb93d853b3e8a59be6a9a99 /Dockerfile | |
| parent | 81c65e41aa82455b94580fd0b755d597155ebf8b (diff) | |
userstack 多进程
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -2,6 +2,10 @@ # FROM debian FROM rockylinux:8.8.20230518 +# copy 并安装 /root/diagnose-tools/rpmbuild/RPMS/x86_64/diagnose-tools-2.1-release.el8.x86_64.rpm +# 拷贝 RPM 文件到 Docker 镜像中 +# COPY /diagnose-tools-2.1-release.el8.x86_64.rpm + # 安装 RPM 文件 # RUN dnf install -y /diagnose-tools-2.1-release.el8.x86_64.rpm && \ # rm -f /diagnose-tools-2.1-release.el8.x86_64.rpm @@ -11,10 +15,5 @@ COPY build/userstack /userstack # 使拷贝进去的 userstack 文件可执行 RUN ls / RUN chmod +x /userstack - -# copy 并安装 /root/diagnose-tools/rpmbuild/RPMS/x86_64/diagnose-tools-2.1-release.el8.x86_64.rpm -# 拷贝 RPM 文件到 Docker 镜像中 -COPY /diagnose-tools-2.1-release.el8.x86_64.rpm / - # 设置容器启动时运行的命令 ENTRYPOINT ["/userstack"]
\ No newline at end of file |
