Can't build image based on frankenphp in openshift / okd (k8s) with kaniko
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 52/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, gitlab, go, kubernetes
- 领域
- build-system, devops
调研方向
Start by reading the Dockerfile’s capability setup and check how the image build applies setcap; the reported Kaniko failure is on /usr/local/bin/frankenphp while writing security.capability. Determine whether those default capabilities can be omitted or provided through separate image builds. Done means a Kaniko build in OpenShift/OKD can produce a FrankenPHP image without requiring root or those capabilities.
由索引模型根据 Issue 内容生成。
描述
What happened?
I can't build images based on frankenphp with GitLab CI/CD and Kaniko in OpenShift / OKD (k8s runner).
Can you please remove default capabilities set from Dockerfile?
Or make different builds and images without these capabilities?
At now i can only make full image re-build myself without setcap or bring root to my builds which is highly insecure.
Build Type
Docker (Debian Trixie)
Worker Mode
Yes
Operating System
Other (tell us more in the description)
CPU Architecture
No response
PHP configuration
phpinfo() output
-
Relevant log output
Relevant log output
`
error building image: error building stage: failed to get filesystem from image: failed to write "security.capability" attribute to "/usr/local/bin/frankenphp": lsetxattr security.capability /usr/local/bin/frankenphp: operation not permitted
`
- 主要语言
- Go
- 星标
- 11.4k
- 派生
- 499
- 平均合并
- 2 天 5 小时
- 30 天内合并 PR
- 43
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
php/frankenphp 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
php/frankenphp#2671 · 1 条评论 ·
维护者通常 1 天内回复
-
Include frankenphp version in logs可能重新可做 关联的 PR 已关闭且未合并。 未关闭enhancement
难度 2/5 1-3 小时 新手友好度 68/100
php/frankenphp#2483 · 3 条评论 ·
维护者通常 1 天内回复
-
suggestion about compile.md可能重新可做 关联的 PR 已关闭且未合并。 未关闭enhancement
难度 1/5 1-3 小时 新手友好度 68/100
php/frankenphp#601 · 5 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 43/100
php/frankenphp#2747 ·
维护者通常 1 天内回复
-
Feature Request: Include ACME DNS modules (e.g. Cloudflare) in official Windows pre-built binaries未关闭enhancement
难度 5/5 一周以上 新手友好度 35/100
php/frankenphp#2731 · 3 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
fix(handlers): explicitly set Content-Type header in static Index handler可能已有人在做 @kage-zero 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
Quick Open: restore dependency-directory exclusions in filesystem fallback可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
eugenioenko/ttt#1206 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
open-policy-agent/opa#9426 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
rorkai/App-Store-Connect-CLI#3192 ·
维护者通常 1 天内回复
-
t:urlDecodeUni does not map U+3002 and U+FF61 to a dot, unlike ModSecurity可能已有人在做 @fzipi 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复