openshift - 如何在 OpenShift 下使用 unrar 创建 pod?
问题描述
我想将使用 unrar 的应用程序部署到 OpenShift。但默认情况下,我的部署 pod 中的 /usr/bin 目录中没有 unrar。
如何向 OpenShift pod 添加 unrar 或 perl 等功能?
解决方案
部署 pod 的内容由它正在部署的容器映像决定。
您可以使用 buildah、podman 或 docker CLI 工具构建自己的容器映像,其中包含您喜欢的任何工具。网上有很多资源详细说明了这是如何完成的。
推荐阅读
- sql - 如何在具有相同列的两个表中找到不同的行?
- java - 使用 Java 从 PDF 更改栏或修订栏数
- javascript - 用于在文本输入中包含小数但不修改其小数的 Keyup 事件或输入掩码解决方案
- bash - find 何时报告路径中的双正斜杠?
- css - 在 style.css 中更改颜色不适用于 WP 主题
- java - 在运行时覆盖/禁用 Aspect
- c++-winrt - C++/winRT CreateFolderAsync - 如何检查现有文件夹?
- javascript - javascript从数组中的所有对象中提取某些属性
- java - 如何配置 spring 以使用外部 LDAP 服务器
- rest - 如何通过 REST API 更新 jenkins 凭据?