forked from Sentieon/sentieon-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
23 lines (17 loc) · 793 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Python base image for python scripts
FROM python:3.8.6-slim-buster as downloader
ARG VERSION=202010.02
LABEL container.base.image="python:3.8.6-slim-buster" \
software.version="${VERSION}" \
software.website="https://www.sentieon.com/"
# Download the software from the permalink
RUN apt-get update && apt-get install -y wget && \
mkdir -p /opt/sentieon/ && \
wget -nv -O - "https://s3.amazonaws.com/sentieon-release/software/sentieon-genomics-${VERSION}.tar.gz" | \
tar -zxf - -C /opt/sentieon/
# Build the container
FROM python:3.8.6-slim-buster
ARG VERSION=202010.02
COPY --from=downloader /opt/sentieon/sentieon-genomics-${VERSION} /opt/sentieon/sentieon-genomics-${VERSION}
CMD ["/bin/bash"]
ENV PATH /opt/sentieon/sentieon-genomics-${VERSION}/bin/:$PATH