[PR #444] [MERGED] Chore: Avoid shell in Docker health check #559

Closed
opened 2026-03-15 14:26:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/axllent/mailpit/pull/444
Author: @scop
Created: 2/14/2025
Status: Merged
Merged: 2/15/2025
Merged by: @axllent

Base: developHead: chore/healthcheck-no-shell


📝 Commits (1)

  • fc0d0c0 Chore: Avoid shell in Docker health check

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Dockerfile (+1 -1)

📄 Description

Hardly significant, but... why not :)

https://docs.docker.com/reference/dockerfile/#healthcheck

Before (docker image inspect axllent/mailpit | jq ".[0].Config.Healthcheck.Test"):

[
  "CMD-SHELL",
  "/mailpit readyz"
]

After:

[
  "CMD",
  "/mailpit",
  "readyz"
]

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/axllent/mailpit/pull/444 **Author:** [@scop](https://github.com/scop) **Created:** 2/14/2025 **Status:** ✅ Merged **Merged:** 2/15/2025 **Merged by:** [@axllent](https://github.com/axllent) **Base:** `develop` ← **Head:** `chore/healthcheck-no-shell` --- ### 📝 Commits (1) - [`fc0d0c0`](https://github.com/axllent/mailpit/commit/fc0d0c01ce0f01eb116b336153a2dc8c68e78295) Chore: Avoid shell in Docker health check ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+1 -1) </details> ### 📄 Description Hardly significant, but... why not :) https://docs.docker.com/reference/dockerfile/#healthcheck Before (`docker image inspect axllent/mailpit | jq ".[0].Config.Healthcheck.Test"`): ```json [ "CMD-SHELL", "/mailpit readyz" ] ``` After: ```json [ "CMD", "/mailpit", "readyz" ] ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 14:26:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#559
No description provided.