This repository has been archived by the owner on Dec 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from scitran-apps/20190902
[GEAR-285] Upgrade to dcm2niix to 20190902
- Loading branch information
Showing
3 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
# | ||
|
||
# Start with neurodebian image | ||
FROM neurodebian:trusty | ||
FROM neurodebian:xenial | ||
MAINTAINER Michael Perry <[email protected]> | ||
|
||
# Install packages | ||
|
@@ -20,26 +20,21 @@ RUN apt-get update -qq \ | |
build-essential \ | ||
cmake \ | ||
pkg-config \ | ||
libgdcm-tools=2.2.4-1.1ubuntu4 \ | ||
libgdcm-tools \ | ||
bsdtar \ | ||
unzip \ | ||
pigz \ | ||
gzip \ | ||
wget \ | ||
jq \ | ||
python \ | ||
python-pip \ | ||
python-nibabel | ||
|
||
# Need to update pydicom | ||
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ | ||
python get-pip.py | ||
|
||
COPY requirements.txt ./requirements.txt | ||
RUN pip install -r requirements.txt && rm -rf /root/.cache/pip | ||
|
||
# Compile DCM2NIIX from source | ||
ENV DCMCOMMIT=54cfd5176cb9f50c1c66d2f2e96beadf60e2edb4 | ||
#ENV DCMCOMMIT=f54be46667fce7994d2062e2623d12253c1bd968 | ||
ENV DCMCOMMIT=f54be46667fce7994d2062e2623d12253c1bd968 | ||
RUN curl -#L https://github.com/rordenlab/dcm2niix/archive/$DCMCOMMIT.zip | bsdtar -xf- -C /usr/local | ||
WORKDIR /usr/local/dcm2niix-${DCMCOMMIT}/build | ||
RUN cmake -DUSE_OPENJPEG=ON -MY_DEBUG_GE=ON ../ && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pydicom==1.3.0 | ||
pydicom==1.4.2 |