-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
48 lines (44 loc) · 1.2 KB
/
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
45
46
47
48
# Dockerfile for version Geotop version 2.0
# To be used and run just for reference
#
#
FROM debian:jessie-slim
MAINTAINER Francesco Serafin <francesco.serafin.3@gmail.com>, Olaf David <odavid@colostate.edu> Stefano Cozzini <stefano.cozzini.exact-lab.it>
RUN set -x \
\
&& apt-get -y update \
\
# installation of required packages
&& apt-get install --no-install-recommends -y \
ca-certificates \
wget \
binutils \
make \
cmake \
g++ \
gcc \
git \
\
# download and unpack GEOtop 2.0
&& git clone https://github.com/se27xx/GEOtop \
# build and install GEOtop 2.0
&& ( \
cd GEOtop \
&& mkdir bin \
&& make -f geotop.make \
) \
\
# purge obsolete packages
&& apt-get -y remove --purge \
ca-certificates \
wget \
binutils \
make \
cmake \
g++ \
gcc \
\
# purge not needed packages
&& apt-get -y autoremove --purge
RUN mkdir /work
CMD ["/GEOtop/bin/geotop-2.0.0", "/work" ]