From 14adff18d4e4c6443172d24d970db4857f1f3295 Mon Sep 17 00:00:00 2001 From: jamshale <31809382+jamshale@users.noreply.github.com> Date: Mon, 6 Jan 2025 10:51:02 -0800 Subject: [PATCH] Pin poetry to 1.8.3 in dockerfiles (#3427) Signed-off-by: jamshale --- docker/Dockerfile | 2 +- docker/Dockerfile.demo | 2 +- docker/Dockerfile.run | 2 +- docker/Dockerfile.test | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 89e2e3da54..1e5eb59b73 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /src COPY . . -RUN pip install --no-cache-dir poetry +RUN pip install --no-cache-dir poetry==1.8.3 RUN poetry build FROM python:${python_version}-slim-bullseye AS main diff --git a/docker/Dockerfile.demo b/docker/Dockerfile.demo index 766dde0a64..42c0c0e4f4 100644 --- a/docker/Dockerfile.demo +++ b/docker/Dockerfile.demo @@ -10,7 +10,7 @@ RUN mkdir -p bin && curl -L -o bin/jq \ chmod ug+x bin/jq # Copy and install Aries Agent code -RUN pip install --no-cache-dir poetry +RUN pip install --no-cache-dir poetry==1.8.3 COPY README.md pyproject.toml poetry.lock ./ diff --git a/docker/Dockerfile.run b/docker/Dockerfile.run index 706588d0b5..e47774aff2 100644 --- a/docker/Dockerfile.run +++ b/docker/Dockerfile.run @@ -12,7 +12,7 @@ WORKDIR /usr/src/app # For consistency with base images, include curl for healthchecks RUN apt-get update && apt-get install -y curl && apt-get clean -RUN pip install --no-cache-dir poetry +RUN pip install --no-cache-dir poetry==1.8.3 RUN mkdir -p acapy_agent && touch acapy_agent/__init__.py COPY pyproject.toml poetry.lock README.md ./ diff --git a/docker/Dockerfile.test b/docker/Dockerfile.test index fb4e9e98f1..954ebae8ff 100644 --- a/docker/Dockerfile.test +++ b/docker/Dockerfile.test @@ -9,7 +9,7 @@ RUN apt-get update -y && \ WORKDIR /usr/src/app -RUN pip install --no-cache-dir poetry +RUN pip install --no-cache-dir poetry==1.8.3 COPY ./README.md pyproject.toml ./poetry.lock ./ RUN mkdir acapy_agent && touch acapy_agent/__init__.py