Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Problems building a Dockerfile

未关闭
#2,522 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
docker, shell

调研方向

从 .examples/dockerfiles/full/apache/Dockerfile 开始,重现因 libmagickcore-6.q16-6-extra 而失败的 apt-get install 步骤。检查该步骤涉及的软件包名称和可用仓库,然后验证完整的 Apache 镜像能够在具备所需依赖项的情况下成功构建。

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

描述

I have started to experiencing issues with building this Docker image in particular:
https://github.com/nextcloud/docker/blob/master/.examples/dockerfiles/full/apache/Dockerfile

Error:

Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package
libmagickcore-6.q16-6-extra E: Couldn't find any package by glob 'libmagickcore-6.q16-6-extra' E: Couldn't find any
package by regex 'libmagickcore-6.q16-6-extra' The command '/bin/sh -c set -ex; apt-get update; apt-get install -y --no
install-recommends ffmpeg libmagickcore-6.q16-6-extra procps smbclient supervisor libreoffice ghostscript ; rm -rf
/var/lib/apt/lists/*' returned a non-zero code: 100

Related post on help.nextcloud.com https://help.nextcloud.com/t/problem-with-building-full-docker-image-from-example-nextcloud-31-0-8-apache/230628/7

Replacing the libmagickcore depdency with a more recent more (say) libmagickcore-7.q16-10-extra is not alone sufficient to fix the issue.

主要语言
Shell
星标
7.4k
派生
1.9k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

nextcloud/docker 的其他 Issue

查看 nextcloud/docker 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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