nextcloud / nextcloud/docker

env var to add additional packages

Open
#2,423 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement question
Dominant language
Shell
Stars
7.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

I use the nextcloud:stable image and upon upgrading to 31.0.4, I get an error on the Security & setup warnings page:

OCRmyPDF CLI is not installed. For more details see the documentation ↗.

It looks like the all-in-one repo has an env var NEXTCLOUD_ADDITIONAL_APKS to add additional packages, but I didn't see that option in the regular docker image.

my compose file:

# yq .services.nextcloud docker-compose.yml 
image: nextcloud:stable
container_name: nextcloud
restart: unless-stopped
volumes:
  - /media/fast/nextcloud:/var/www/html
  - /media/slow/nextcloud:/var/www/html/data
depends_on:
  - mariadb
labels:
  - "com.centurylinklabs.watchtower.monitor-only=true"
healthcheck:
  test: curl http://localhost || exit 1
  timeout: 10s

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

Compare how NEXTCLOUD_ADDITIONAL_APKS is implemented in the all-in-one repository with the regular nextcloud:stable image. Start from the Docker image build and startup configuration, then verify with the shown docker-compose.yml that requested packages are installed and the OCRmyPDF warning is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.