-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
57 lines (49 loc) · 1.32 KB
/
Dockerfile
File metadata and controls
57 lines (49 loc) · 1.32 KB
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
FROM ubuntu:20.04
LABEL maintainer="Andrew Guy"
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /app
COPY . .
RUN apt-get update && apt-get install -y --no-install-recommends \
python3-pip \
build-essential \
libboost-all-dev \
cmake \
git && \
rm -rf /var/lib/apt/lists/* && \
git clone https://github.com/andrewguy/fast-mRMR.git && \
cd fast-mRMR/cpu/src && \
make && \
cp fast-mrmr /usr/local/bin/fast-mrmr && \
cd ../../utils/data-reader && \
make && \
cp mrmr-reader /usr/local/bin/mrmr-reader && \
cd ../../.. && \
rm -r fast-mRMR && \
git clone --recursive https://github.com/Jokeren/gBolt.git && \
cd gBolt && \
mkdir build && cd build && \
cmake .. && \
make && \
cp gbolt /usr/local/bin/gbolt && \
cd ../.. && rm -r gBolt && \
pip3 install numpy \
pandas \
sklearn \
matplotlib \
jupyter \
networkx \
statsmodels \
pyxdameraulevenshtein \
click \
pyparsing && \
cd /app && \
python3 setup.py install && \
apt-get purge -y --auto-remove build-essential cmake git && \
rm -r /app
RUN useradd -l -m -s /bin/bash -N -u 1000 user && \
mkdir /data && \
chown 1000:100 /data
USER 1000
WORKDIR /data
ENTRYPOINT [ "ccarl" ]
CMD ["--help"]