Created
April 9, 2020 07:32
-
-
Save inutano/f1a0649cd7873cc7f3d2fc4d1567d3de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENV DEBIAN_VERSION=buster-20200327 | |
ENV ODGI_COMMIT=5e18490156f08368dae0b25a69e0cf5efa5427ca | |
ENV SPODGI_COMMIT=84a1af531e5381216eeb5035e284167ed886da21 | |
FROM debian:${DEBIAN_VERSION} as odgi_build | |
WORKDIR "/tmp" | |
RUN DEBIAN_FRONTEND=noninteractive \ | |
&& apt-get update -y \ | |
&& apt-get install -y --no-install-recommends \ | |
build-essential \ | |
ca-certificates \ | |
cmake \ | |
git \ | |
python3-dev \ | |
zlib1g-dev \ | |
&& rm -fr /var/lib/apt/lists/* && \ | |
&& update-ca-certificates && \ | |
&& git clone --recursive https://github.com/vgteam/odgi.git \ | |
&& cd odgi \ | |
&& git checkout "${ODGI_COMMIT}" \ | |
&& cmake -H. -Bbuild \ | |
&& cmake --build build -- -j 3 \ | |
&& cp bin/odgi /usr/bin | |
WORKDIR "/tmp" | |
ENV PYTHONPATH=:/tmp/odgi/lib/ | |
RUN DEBIAN_FRONTEND=noninteractive \ | |
&& git clone https://github.com/pangenome/spodgi \ | |
&& cd spodgi | |
&& git checkout "${SPODGI_COMMIT}" \ | |
&& python3 setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment