Skip to content

Commit

Permalink
ci: Make it possible to pass the path to bioconda-utils/ as a build-arg
Browse files Browse the repository at this point in the history
Related-to: bioconda/bioconda-utils#951 (comment)

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Jan 12, 2024
1 parent 94fca92 commit 35f86fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion images/build-env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . && \
Expand Down

0 comments on commit 35f86fc

Please sign in to comment.