Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix missing requirements in docker CLI file #409

Merged
merged 1 commit into from
Aug 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions docker/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ RUN yum update -y && \
yum install -y curl \
curl-devel \
coreutils \
freetype-devel \
gcc \
gcc-c++ \
gettext \
libpng-devel \
openssl-devel \
perl \
perl-CPAN \
Expand Down Expand Up @@ -84,11 +86,9 @@ RUN git clone https://github.com/martine/ninja.git && \
mv ninja /usr/bin/ && \
cd .. && rm -rf ninja

# Install pyradiomics
# Setup necessary python packages
WORKDIR /usr/src
RUN git clone https://github.com/radiomics/pyradiomics.git && \
cd pyradiomics && \
python --version && \
RUN python --version && \
wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py && \
python get-pip.py && \
pip install wheel>=0.29.0 && \
Expand All @@ -97,7 +97,12 @@ RUN git clone https://github.com/radiomics/pyradiomics.git && \
pip install trimesh && \
pip install scikit-image && \
pip install --trusted-host www.itk.org -f https://itk.org/SimpleITKDoxygen/html/PyDownloadPage.html SimpleITK>=0.9.1 && \
python -c "import SimpleITK; print('SimpleITK Version:' + SimpleITK.Version_VersionString())" && \
python -c "import SimpleITK; print('SimpleITK Version:' + SimpleITK.Version_VersionString())"

# Install PyRadiomics
WORKDIR /usr/src
RUN git clone https://github.com/radiomics/pyradiomics.git && \
cd pyradiomics && \
pip install -r requirements.txt && \
python setup.py install

Expand Down