Add "curl" to docker image for healthcheck

Open
#107 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker
Domain
devops

Research direction

Start by reviewing commit 9d6297118afd4a6b494b1b82cb4dc7f58e83e45d and the Docker image build step containing apt-get purge -y --auto-remove. Verify the resulting official image provides curl for Docker healthchecks, with wget remaining unnecessary unless the build configuration indicates otherwise.

Written by the indexing model from the issue text.

Description

In previous versions (specifically v2.3.1) the docker image had curl which could be used with Docker healthcheck. In the latest v2 (v2.4.11) neither curl or wget are available so I can't do a healthcheck with the official image.

My guess is this was changed in 9d6297118afd4a6b494b1b82cb4dc7f58e83e45d and caused by the line apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

(Thanks for your work on making this easy for me to deploy/maintain)

Dominant language
Dockerfile
Stars
336
Forks
226
Avg merge
21d 4h
Merged PRs (30d)
1

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No 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.

More from RocketChat/Docker.Official.Image

All issues in RocketChat/Docker.Official.Image

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.