File: Dockerfile

package info (click to toggle)
dcm2niix 1.0.20201102-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,756 kB
  • sloc: cpp: 18,300; ansic: 4,364; sh: 55; python: 33; makefile: 33
file content (16 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM ubuntu:trusty
MAINTAINER <alexcohen@gmail.com> # feel free to change/adopt

# Install Dependencies
RUN apt-get update && apt-get upgrade -y && \
	apt-get install -y build-essential pkg-config cmake git pigz && \
	apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y

# Get dcm2niix from github and compile
RUN cd /tmp && \
	git clone https://github.com/rordenlab/dcm2niix.git && \
	cd dcm2niix && mkdir build && cd build && \
	cmake -DBATCH_VERSION=ON -DUSE_OPENJPEG=ON .. && \
	make && make install

ENTRYPOINT ["/usr/local/bin/dcm2niix"]