Skip to content

Commit

Permalink
add zstandard pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Sep 21, 2023
1 parent 40db1ac commit 0d990a9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ ENV CONDA_ENV="pychunkedgraph"
# Setup Miniconda
RUN apt-get update && apt-get install build-essential wget -y
RUN wget \
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& mkdir /root/.conda \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm -f Miniconda3-latest-Linux-x86_64.sh \
&& conda update conda
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
&& mkdir /root/.conda \
&& bash Miniconda3-latest-Linux-x86_64.sh -b \
&& rm -f Miniconda3-latest-Linux-x86_64.sh \
&& conda update conda

# Install PCG dependencies - especially graph-tool
# Note: uwsgi has trouble with pip and python3.11, so adding this with conda, too
Expand All @@ -27,6 +27,7 @@ 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
RUN conda-pack -n ${CONDA_ENV} --ignore-missing-files -o /tmp/env.tar \
&& mkdir -p /app/venv \
&& cd /app/venv \
Expand Down

0 comments on commit 0d990a9

Please sign in to comment.