-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build docker distributed STAR + samtools
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Adding a platform tag to ensure that images built on ARM-based machines doesn't break pipelines | ||
FROM --platform="linux/amd64" ubuntu:22.04 | ||
|
||
ENV TERM=xterm-256color | ||
|
||
LABEL MAINTAINER="Broad Institute DSDE <dsde-engineering@broadinstitute.org>" | ||
|
||
WORKDIR /usr | ||
|
||
# Install dependencies | ||
RUN set -eux; \ | ||
apt update; \ | ||
apt-get install -y autoconf automake bash bzip2 gcc wget make libncurses5-dev zlib1g-dev libbz2-dev liblzma-dev numactl; \ | ||
apt-get install -y build-essential git; \ | ||
|
||
# Install open omics acceleration framework | ||
mkdir temp; \ | ||
ls; \ | ||
pwd; \ | ||
cd temp; \ | ||
# clone fork of Open-Omics-Acceleration-Framework with changes added for input/output | ||
git clone --recursive https://github.com/aawdeh/Open-Omics-Acceleration-Framework.git; \ | ||
|
||
# install packages | ||
cd Open-Omics-Acceleration-Framework; \ | ||
git checkout aa-optimus; \ | ||
|
||
|
||
cd pipelines/optimus_starsolo; \ | ||
./install.sh; \ | ||
|
||
# Tini | ||
cd /usr/temp; \ | ||
wget https://github.com/krallin/tini/releases/download/v0.19.0/tini -O /usr/bin/tini; \ | ||
chmod +x /usr/bin/tini; \ | ||
|
||
# Clean up cached files | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
# Set tini as default entrypoint | ||
ENTRYPOINT [ "/usr/bin/tini", "--" ] |