nextcloud / nextcloud/docker

Problems building a Dockerfile

Open
#2,522 4 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.