It would be useful not to remove the previously installed curl package in the couchdb-nouveu container’s Dockerfile.

Open
#283 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
50/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
docker, docker-compose
Domain
devops

Research direction

Open the Dockerfile for the couchdb-nouveu container and inspect the final apt cleanup command that removes curl. Confirm the image build completes with curl retained, and verify that the proposed Docker Compose healthcheck can invoke curl against the service endpoint.

Written by the indexing model from the issue text.

Description

In order to perform a health check of the nouveau service within a Docker Compose file, it would be useful to have the curl command available to verify the service status, for example as follows:

healthcheck:
  test: ["CMD", "curl", "-f", "http://localhost:5988/healthcheck"]
  interval: 10s
  timeout: 5s
  retries: 5
  start_period: 10s

Currently, near the end of the Dockerfile, the following command is executed:

apt purge -y --autoremove curl

I propose removing this part and keeping the curl package installed.

Dominant language
Dockerfile
Stars
290
Forks
146
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from apache/couchdb-docker

All issues in apache/couchdb-docker

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.