Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hkjeldsberg authored Dec 12, 2023
1 parent 48718b5 commit 970c4a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ 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
Expand Down

0 comments on commit 970c4a2

Please sign in to comment.