Skip to content

Commit bed9d8b

Browse files
committed
Merge branch 'main' of github.com:adamd3/BactSeq
- Add conda environment activation with CONDA_DEFAULT_ENV
2 parents 22b088f + 4864ba9 commit bed9d8b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
aligner: "kallisto"
3232
test_type: "single-end"
3333
# Test with latest Nextflow version
34-
- NXF_VER: "23.10.1"
34+
- NXF_VER: "25.04.0"
3535
NXF_EDGE: ""
3636
aligner: "bwa"
3737
test_type: "single-end"

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ COPY environment.yml /app
66

77
RUN conda env create -f environment.yml
88

9-
RUN echo "conda activate bact_seq-1.0.0" >> ~/.bashrc
9+
# Set conda environment as default
10+
ENV CONDA_DEFAULT_ENV=bact_seq-1.0.0
1011
ENV PATH=/opt/conda/envs/bact_seq-1.0.0/bin:$PATH
1112

1213
SHELL ["/bin/bash", "-c"]
1314

1415
COPY . /app
15-
16-
ENTRYPOINT ["bash", "-c", "source activate bact_seq-1.0.0 && exec bash"]

0 commit comments

Comments
 (0)