Skip to content

Commit

Permalink
Build docker distributed STAR + samtools
Browse files Browse the repository at this point in the history
  • Loading branch information
aawdeh authored Feb 1, 2024
1 parent 2a6b34e commit 5484032
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions 3rd-party-tools/samtools-dist-star/Dockerfile
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", "--" ]

0 comments on commit 5484032

Please sign in to comment.