From bbbd5278ea595fc1357508112d5462367c43919b Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Fri, 12 Jan 2024 14:19:41 +0200 Subject: [PATCH] Pass the path to bioconda-utils as a build argument Depends-on: https://github.com/bioconda/bioconda-containers/pull/66 Signed-off-by: Martin Tzvetanov Grigorov --- .github/workflows/GithubActionTests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/GithubActionTests.yml b/.github/workflows/GithubActionTests.yml index a2fe8a40fc..0f3b2348e1 100644 --- a/.github/workflows/GithubActionTests.yml +++ b/.github/workflows/GithubActionTests.yml @@ -41,8 +41,7 @@ jobs: - name: Build docker container run: | - sed -i "s#COPY ./bioconda-utils/ ./#COPY ./ ./#" ./bioconda-containers/images/build-env/Dockerfile - docker build -t quay.io/bioconda/bioconda-utils-build-env-cos7:latest -f ./bioconda-containers/images/build-env/Dockerfile ./ + docker build --build-arg BIOCONDA_UTILS_FOLDER=./ -t quay.io/bioconda/bioconda-utils-build-env-cos7:latest -f ./bioconda-containers/images/build-env/Dockerfile ./ docker history quay.io/bioconda/bioconda-utils-build-env-cos7:latest docker run --rm -t quay.io/bioconda/bioconda-utils-build-env-cos7:latest sh -lec 'type -t conda && conda info -a && conda list' docker build -t quay.io/bioconda/bioconda-utils-test-env-cos7:latest -f ./Dockerfile.test ./