From 308d5bdb60dd81108608de188cdf2b79c38052ca Mon Sep 17 00:00:00 2001 From: MattWellie Date: Sat, 2 Nov 2024 09:26:09 +1000 Subject: [PATCH] tweak tweak --- images/talos/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/images/talos/Dockerfile b/images/talos/Dockerfile index a192cd1..db3f8a0 100644 --- a/images/talos/Dockerfile +++ b/images/talos/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-bullseye +FROM python:3.12-bullseye ARG VERSION=${VERSION:-6.1.2} @@ -19,7 +19,7 @@ RUN apt update && apt install -y --no-install-recommends \ rm -r /var/cache/apt/* # install a skinny version of gcloud -# gcloud is a monster - contains thousnds of man pages, a whole python installation, etc.0 +# gcloud is a monster - contains thousands of man pages, a whole python installation, etc.0 # gcloud-lite is a much smaller version, with only the bits we need # gcloud-go would be even smaller, but I couldn't grok the install ADD https://github.com/tonymet/gcloud-lite/releases/download/472.0.0/google-cloud-cli-472.0.0-linux-x86_64-lite.tar.gz gcloud.tar.gz @@ -28,6 +28,7 @@ RUN tar -zxf gcloud.tar.gz \ && rm gcloud.tar.gz ENV PATH="$PATH:/bin/google-cloud-sdk/bin" +ENV CLOUDSDK_PYTHON="/usr/local/bin/python" # install nextflow ADD https://get.nextflow.io nextflow @@ -35,4 +36,5 @@ RUN chmod +x nextflow && \ mv nextflow /usr/bin && \ nextflow self-update -RUN pip install --no-cache-dir metamist git+https://github.com/populationgenomics/talos.git@${VERSION} +# botocore is required for the Gcloud CLI +RUN pip install --no-cache-dir botocore metamist git+https://github.com/populationgenomics/talos.git@${VERSION}