From 35f86fce7526378a716e503c07f74f149f8d58e8 Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 12 Jan 2024 11:24:56 +0200 Subject: [PATCH] ci: Make it possible to pass the path to bioconda-utils/ as a build-arg Related-to: https://github.com/bioconda/bioconda-utils/pull/951#discussion_r1449178610 Signed-off-by: Martin Tzvetanov Grigorov --- images/build-env/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/build-env/Dockerfile b/images/build-env/Dockerfile index c9f841d1..6573054b 100644 --- a/images/build-env/Dockerfile +++ b/images/build-env/Dockerfile @@ -32,7 +32,8 @@ RUN . /opt/conda/etc/profile.d/conda.sh && \ FROM base as build WORKDIR /tmp/repo -COPY ./bioconda-utils/ ./ +ARG BIOCONDA_UTILS_FOLDER=./bioconda-utils/ +COPY ${BIOCONDA_UTILS_FOLDER} ./ RUN . /opt/conda/etc/profile.d/conda.sh && conda list RUN . /opt/conda/etc/profile.d/conda.sh && conda activate base && \ pip wheel . && \