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 2d1c05d commit dca399a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dca399a

Please sign in to comment.