diff --git a/CHANGELOG.md b/CHANGELOG.md index 1438052e4..8c4e970ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ Write the date in place of the "Unreleased" in the case a new version is release ## Unreleased +- Fix curl and httpie installation in docker image. + ### Added - Add HTTP endpoint `PATCH /array/full/{path}` to enable updating and diff --git a/Dockerfile b/Dockerfile index 8c71e5a2b..de183aa43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,6 @@ 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. @@ -52,6 +49,8 @@ FROM python:3.12-slim as runner ENV VIRTUAL_ENV=/opt/venv ENV PATH="$VIRTUAL_ENV/bin:$PATH" COPY --from=builder $VIRTUAL_ENV $VIRTUAL_ENV +# We want cURL and httpie so healthchecks can be performed within the container +RUN apt-get update && apt-get install -y curl httpie WORKDIR /deploy RUN mkdir /deploy/config