Skip to content

Commit c3fd686

Browse files
More complete Dockerfile (#125)
1 parent f3eb630 commit c3fd686

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

Dockerfile

+19-16
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
# With this Dockerfile in working directory,
33
# docker build -t username/imagename .
44
# (note the period at the end)
5-
# docker run -it username/imagename /bin/bash
5+
# docker run -it --rm username/imagename
66

77
# Start with latest Calyx image
88
FROM ghcr.io/cucapra/calyx:latest
99

10-
# return to root directory
10+
# Go to the root directory
1111
WORKDIR /root
1212

1313
# Install ODGI
14-
# dependencies:
14+
# Dependencies:
1515
RUN apt install -y build-essential cmake python3-distutils python3-dev libjemalloc-dev
16-
# clone:
16+
# Clone:
1717
RUN git clone --recursive https://github.com/pangenome/odgi.git
18-
# build:
18+
# Build:
1919
WORKDIR /root/odgi
2020
RUN cmake -H. -Bbuild && cmake --build build -- -j7
21-
# return to root directory
21+
# Return to root directory
2222
WORKDIR /root
2323

2424
# Add ODGI to paths
@@ -27,24 +27,27 @@ ENV PYTHONPATH=$PYTHONPATH:/root/odgi/lib
2727
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
2828
ENV FLIT_ROOT_INSTALL=1
2929

30-
# Install Pollen
31-
# dependencies:
30+
# Install Pollen's dependencies:
3231
RUN git clone https://github.com/cucapra/turnt.git
3332
WORKDIR /root/turnt
34-
RUN flit install --symlink --user
33+
RUN flit install -s --user
3534
WORKDIR /root
3635

37-
# good to have:
36+
# Good to have:
3837
RUN apt install emacs -y
3938
RUN apt install vim -y
4039

41-
# clone:
40+
# Clone and build Pollen:
4241
RUN git clone https://github.com/cucapra/pollen.git
43-
# build:
4442
WORKDIR /root/pollen
4543
RUN make fetch
4644
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

Comments
 (0)