2
2
# With this Dockerfile in working directory,
3
3
# docker build -t username/imagename .
4
4
# (note the period at the end)
5
- # docker run -it username/imagename /bin/bash
5
+ # docker run -it --rm username/imagename
6
6
7
7
# Start with latest Calyx image
8
8
FROM ghcr.io/cucapra/calyx:latest
9
9
10
- # return to root directory
10
+ # Go to the root directory
11
11
WORKDIR /root
12
12
13
13
# Install ODGI
14
- # dependencies :
14
+ # Dependencies :
15
15
RUN apt install -y build-essential cmake python3-distutils python3-dev libjemalloc-dev
16
- # clone :
16
+ # Clone :
17
17
RUN git clone --recursive https://github.com/pangenome/odgi.git
18
- # build :
18
+ # Build :
19
19
WORKDIR /root/odgi
20
20
RUN cmake -H. -Bbuild && cmake --build build -- -j7
21
- # return to root directory
21
+ # Return to root directory
22
22
WORKDIR /root
23
23
24
24
# Add ODGI to paths
@@ -27,24 +27,27 @@ ENV PYTHONPATH=$PYTHONPATH:/root/odgi/lib
27
27
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
28
28
ENV FLIT_ROOT_INSTALL=1
29
29
30
- # Install Pollen
31
- # dependencies:
30
+ # Install Pollen's dependencies:
32
31
RUN git clone https://github.com/cucapra/turnt.git
33
32
WORKDIR /root/turnt
34
- RUN flit install --symlink --user
33
+ RUN flit install -s --user
35
34
WORKDIR /root
36
35
37
- # good to have:
36
+ # Good to have:
38
37
RUN apt install emacs -y
39
38
RUN apt install vim -y
40
39
41
- # clone :
40
+ # Clone and build Pollen :
42
41
RUN git clone https://github.com/cucapra/pollen.git
43
- # build:
44
42
WORKDIR /root/pollen
45
43
RUN make fetch
46
44
RUN make og
47
-
48
- # return to root directory
49
- WORKDIR /root
50
-
45
+ WORKDIR /root/pollen/pollen_py
46
+ RUN flit install -s --user
47
+ WORKDIR /root/pollen/mygfa
48
+ RUN flit install -s --user
49
+ WORKDIR /root/pollen/slow_odgi
50
+ RUN flit install -s --user
51
+
52
+ # return to the Pollen directory
53
+ WORKDIR /root/pollen
0 commit comments