-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
44 lines (34 loc) · 876 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Build a CentOS based system
FROM brunneis/python:3.7.0-ubuntu-18.04
RUN apt-get -y update && apt-get install -y \
wget \
unzip \
build-essential \
xutils-dev \
default-jre \
python3-pip \
cmake
RUN pip3 install -U pip
RUN pip3 install wget
RUN pip3 install requests
RUN pip3 install pydicom
RUN pip3 install SimpleITK
RUN pip3 install tqdm
RUN pip3 install argparse
RUN pip3 install pyyaml
RUN pip3 install multiprocess
RUN pip3 install numpy
RUN pip3 install pyplastimatch
WORKDIR /
# DCMTK (Offis DICOM Toolkit)
# http://dcmtk.org/dcmtk.php.en
RUN apt-get install -y dcmtk
RUN apt-get install -y plastimatch
RUN apt-get install -y git
# change to top level directory
WORKDIR /
# cleanup
RUN apt-get purge -y build-essential xutils-dev
RUN apt-get clean autoclean
RUN apt-get autoremove -y
RUN rm -rf /var/lib/{apt,dpkg,cache,log}/ /tmp/* /var/tmp/*