Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Commit

Permalink
Merge pull request #36 from scitran-apps/20190902
Browse files Browse the repository at this point in the history
[GEAR-285] Upgrade to dcm2niix to 20190902
  • Loading branch information
lmperry authored Feb 26, 2020
2 parents 41fb0df + 8449411 commit 465b1e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
13 changes: 4 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#

# Start with neurodebian image
FROM neurodebian:trusty
FROM neurodebian:xenial
MAINTAINER Michael Perry <[email protected]>

# Install packages
Expand All @@ -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 ../ && \
Expand Down
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
"source": "https://github.com/scitran-apps/dcm2niix",
"license": "BSD-2-Clause",
"flywheel": "0",
"version": "0.7.10_1.0.20190410",
"version": "0.8.0_1.0.20190902",
"custom": {
"docker-image": "scitran/dcm2niix:0.7.10_1.0.20190410",
"docker-image": "scitran/dcm2niix:0.8.0_1.0.20190902",
"flywheel": {
"uid": 1000,
"gid": 1000,
"suite": "SciTran"
},
"gear-builder": {
"category": "converter",
"image": "scitran/dcm2niix:0.7.10_1.0.20190410"
"image": "scitran/dcm2niix:0.8.0_1.0.20190902"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pydicom==1.3.0
pydicom==1.4.2

0 comments on commit 465b1e6

Please sign in to comment.