Alpine missing libc-dev
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, rust
- 领域
- build-system, devops
调研方向
首先,使用链接的 kv-store 示例仓库,在 Alpine builder 镜像中重现该故障。将 Alpine 镜像的设置与已安装 libc-dev 的基于 Debian 的镜像进行比较,并验证该示例和另一个 MUSL 构建无需额外的包安装步骤即可运行。
由索引模型根据 Issue 内容生成。
描述
I tried building executables using the alpine latest and the build failed unless I added RUN apk add libc-dev to my builder image. See https://github.com/misalcedo/kv-store for a sample repo that fails to build. Another one of my repos also failed.
The basic hello-world crate does build in this base image.
Looking at the debian-based images we do install libc-dev there. Is there any reason not to include it for Alpine?
I am new to compiling Rust with MUSL, so there may very well be a better way to do this.
- 主要语言
- Dockerfile
- 星标
- 540
- 派生
- 110
- 平均合并
- 24 分钟
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rust-lang/docker-rust 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
rust-lang/docker-rust#159 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 48/100
rust-lang/docker-rust#278 ·
-
难度 5/5 一周以上 新手友好度 30/100
rust-lang/docker-rust#264 ·
-
难度 3/5 1-2 天 新手友好度 52/100
rust-lang/docker-rust#263 ·
-
难度 3/5 1-2 天 新手友好度 35/100
rust-lang/docker-rust#248 · 1 条评论 ·
查看 rust-lang/docker-rust 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area/install-update P2 type/bug
难度 2/5 1-3 小时 新手友好度 75/100
NousResearch/hermes-agent#143313 · 4 条评论 ·
维护者通常 1 天内回复
-
area: tools good first issue
难度 2/5 1-3 小时 新手友好度 76/100
leduardo99/diorama#5 ·
-
难度 1/5 1 小时以内 新手友好度 91/100
维护者通常 1 天内回复
-
triage/untriaged
难度 2/5 1-3 小时 新手友好度 85/100
unoplatform/uno#25649 ·
维护者通常 1 天内回复