From f50be59a3dccd8cb78f653a1089f016edf1e9213 Mon Sep 17 00:00:00 2001 From: JuniorJPDJ Date: Sun, 30 Jan 2022 12:04:11 +0100 Subject: [PATCH] Fix autobahn pinning for docker installs --- api/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index f24407905..1b6146422 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -41,14 +41,14 @@ RUN \ # is why we need to use the package shipped by Alpine Linux, which is currently # version 3.3.2. Since poetry does not allow in-place dependency pinning, we need # to install the deps using pip. - poetry export --without-hashes | grep -v cryptography | pip3 install -r /dev/stdin cryptography==3.3.2 autobahn==21.3.1 && \ + poetry export --without-hashes | grep -Ev 'cryptography|autobahn' | pip3 install -r /dev/stdin cryptography==3.3.2 autobahn==21.3.1 && \ rm -rf $PIP_DOWNLOAD_CACHE ARG install_dev_deps=0 RUN \ if [ "$install_dev_deps" = "1" ] ; then \ echo "Installing dev dependencies" && \ - poetry export --dev --without-hashes | grep -v cryptography | pip3 install -r /dev/stdin cryptography==3.3.2 \ + poetry export --dev --without-hashes | grep -Ev 'cryptography|autobahn' | pip3 install -r /dev/stdin cryptography==3.3.2 autobahn==21.3.1 \ ; else \ echo "Skipping dev deps installation" \ ; fi