Debian Codegraph @

Dockerfile

raw
1 FROM ubuntu:trusty
2 MAINTAINER <[email protected]> # feel free to change/adopt
3
4 # Install Dependencies
5 RUN apt-get update && apt-get upgrade -y && \
6 apt-get install -y build-essential pkg-config cmake git pigz && \
7 apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y
8
9 # Get dcm2niix from github and compile
10 RUN cd /tmp && \
11 git clone https://github.com/rordenlab/dcm2niix.git && \
12 cd dcm2niix && mkdir build && cd build && \
13 cmake -DBATCH_VERSION=ON -DUSE_OPENJPEG=ON .. && \
14 make && make install
15
16 ENTRYPOINT ["/usr/local/bin/dcm2niix"]