diff --git a/docker/Dockerfile b/docker/Dockerfile index f1add0ed..081132bf 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -18,6 +18,8 @@ RUN mamba env update --file environment.yml --name dockerenv RUN echo "source activate dockerenv" > ~/.bashrc # Fix issues with VMTK +RUN ls /opt/conda/envs/dockerenv/lib/python3.10/site-packages/vmtk/ +RUN ls /opt/conda/envs/dockerenv/lib/python3.11/site-packages/vmtk/ RUN sed -i "s/file[[:space:]]=[[:space:]]open(self.OutputFileName,'r')/file = open(self.OutputFileName,'rb')/g" /opt/conda/envs/dockerenv/lib/python3.10/site-packages/vmtk/vmtkmeshwriter.py RUN sed -i "s/gzfile[[:space:]]=[[:space:]]gzip.open(self.OutputFileName,'w')/gzfile = gzip.open(self.OutputFileName,'wb')/g" /opt/conda/envs/dockerenv/lib/python3.10/site-packages/vmtk/vmtkmeshwriter.py