nodejs / nodejs/docker-node

Test for execute bit on docker-entrypoint.sh

未关闭
#1,583 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

permissions
主要语言
Dockerfile
星标
8.6k
派生
2k
平均合并
10 小时 19 分钟
30 天内合并 PR
16

描述

Environment

  • Platform:
  • Docker Version:
  • Node.js Version:
  • Image Tag:

Expected Behavior

Current Behavior

Old directory is usually copied to create a new major release line. This seems to lose the execute bit depending on the platform. This is caught by the upstream CI, but isn't caught here.

Possible Solution

Look at the setup upstream to see if there is something to use, or do a basic check for the execute bit in CI job that filters on only the entrypoint files

Steps to Reproduce

Additional Information

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在仓库中定位 CI 任务和 docker-entrypoint.sh 文件,然后对比上游设置,了解如何检查可执行权限。当某个 entrypoint 文件缺少执行位时 CI 能够可靠地失败,并且对有效的 entrypoint 文件通过时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
docker, dockerfile
领域
ci-cd, devops
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。