Problems building a Dockerfile
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 7.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with .examples/dockerfiles/full/apache/Dockerfile and reproduce the apt-get install step that fails on libmagickcore-6.q16-6-extra. Check the package names and available repositories involved in that step, then verify that the full Apache image builds successfully with the required dependencies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100