From 915b6292333cd791d6805875a52624d198e10277 Mon Sep 17 00:00:00 2001 From: Kari Barry Date: Fri, 11 Oct 2024 15:28:37 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=8C=20Add=20cURL=20to=20dockerfile:=20?= =?UTF-8?q?good=20for=20healthchecks=20(#794)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🥌 Add cURL to dockerfile, available for healthchecks. * 🥧 Add Httpie as a useful alternative for making heathz related requests. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 558527c9d..b540c0f9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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.