forked from BD2KGenomics/cgl-docker-lib
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest (1.0dev100) release of snap (resolves BD2KGenomics#261)
- Loading branch information
Showing
3 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
FROM ubuntu:14.04 | ||
FROM ubuntu | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y python libnss3 wget | ||
RUN apt-get update && apt-get install -y git build-essential zlib1g-dev | ||
|
||
# Download SNAP binary | ||
RUN mkdir /opt/SNAP | ||
WORKDIR /opt/SNAP | ||
RUN wget http://snap.cs.berkeley.edu/downloads/snap-beta.18-linux.tar.gz | ||
RUN tar xzvf snap-beta.18-linux.tar.gz | ||
RUN chmod +x snap-aligner | ||
# clone snap | ||
WORKDIR /opt/ | ||
RUN git clone https://github.com/amplab/snap.git | ||
WORKDIR /opt/snap | ||
RUN git checkout 48e7ae5d38145c094af1fe42a4b3abf1e72e1bb7 | ||
|
||
ENTRYPOINT ["/opt/SNAP/snap-aligner"] | ||
# build snap | ||
WORKDIR /opt/snap/ | ||
RUN make | ||
|
||
ENTRYPOINT ["/opt/snap/snap-aligner"] |
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
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