Skip to content

Commit

Permalink
πŸ₯Œ Add cURL to dockerfile: good for healthchecks (#794)
Browse files Browse the repository at this point in the history
* πŸ₯Œ Add cURL to dockerfile, available for healthchecks.

* πŸ₯§ Add Httpie as a useful alternative for making heathz related requests.
  • Loading branch information
Kezzsim authored Oct 11, 2024
1 parent fca3ddd commit 915b629
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ FROM python:3.12-slim as builder
# We need gcc to compile thriftpy2, a secondary dependency.
RUN apt-get -y update && apt-get install -y git gcc

# We want cURL and httpie so healthchecks can be performed within the container
RUN apt-get install -y curl httpie

WORKDIR /code

# Ensure logs and error messages do not get stuck in a buffer.
Expand Down

0 comments on commit 915b629

Please sign in to comment.