From 08f54d14b4e6d9aec3e494ebbe83c63820e4d24f Mon Sep 17 00:00:00 2001 From: hopedisastro <40783500+hopedisastro@users.noreply.github.com> Date: Wed, 13 Nov 2024 09:13:23 -0500 Subject: [PATCH] Create Dockerfile --- trtools_nonlinear_sum/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 trtools_nonlinear_sum/Dockerfile diff --git a/trtools_nonlinear_sum/Dockerfile b/trtools_nonlinear_sum/Dockerfile new file mode 100644 index 00000000..8f27ac41 --- /dev/null +++ b/trtools_nonlinear_sum/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.10-bullseye + +ARG VERSION=${VERSION:-master} +ARG GIT_REPO=https://github.com/populationgenomics/TRTools-nonlinear-sum.git + +# Install necessary packages and clean up to reduce image size +RUN apt-get update && apt-get install --no-install-recommends -y \ + git curl bzip2 zip && \ + rm -rf /var/lib/apt/lists/* && \ + rm -rf /var/cache/apt/* + +RUN pip install --no-cache-dir metamist git+${GIT_REPO}@${VERSION} \ No newline at end of file