-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
58 lines (50 loc) · 966 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
FROM ubuntu:16.04
RUN apt-get update -y && apt-get install -y \
bc \
bzip2 \
curl \
g++ \
git \
less \
libbz2-dev \
libcurl4-openssl-dev \
liblzma-dev \
libncurses-dev \
libssl-dev \
libtbb-dev \
littler \
make \
man \
openjdk-8-jre \
parallel \
perl \
r-base-dev \
time \
unzip \
vim \
wget \
zlib1g-dev \
libmysqlclient-dev \
python3-pip
# Install Python 3.6
RUN wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz && tar -xvf Python-3.6.3.tgz
WORKDIR Python-3.6.3
RUN ./configure
RUN make
RUN make install
# installing python libraries
RUN pip3 install click==7.0
# download tools
WORKDIR /usr/local/bin
COPY downloads.sh .
RUN . downloads.sh
# set path
ENV PATH=/usr/local/bin/scripts:$PATH
# supporting UTF-8
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
# wrapper
COPY scripts/ .
RUN chmod +x run*.sh
# default command
CMD ["ls","/usr/local/bin/"]