From 15fec670475d2234eb40dfd820a355ec94d6bb56 Mon Sep 17 00:00:00 2001 From: Forrest Collman Date: Thu, 21 Sep 2023 11:57:00 -0400 Subject: [PATCH] replace with nico's hack --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 01854f857..1b9b7944f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,9 @@ RUN conda env create -n ${CONDA_ENV} -f requirements.yml # Shrink conda environment into portable non-conda env RUN conda install conda-pack -c conda-forge -RUN conda run -n ${CONDA_ENV} pip install zstandard --force-reinstall +# Hack to get zstandard from PyPI - remove if conda-forge linked lib issue is resolved +RUN conda run -n ${CONDA_ENV} pip uninstall zstandard -y \ + && conda run -n ${CONDA_ENV} pip install --no-cache-dir --no-deps zstandard==0.21.0 RUN conda-pack -n ${CONDA_ENV} --ignore-missing-files -o /tmp/env.tar \ && mkdir -p /app/venv \ && cd /app/venv \