Skip to content

Commit

Permalink
Updated Dockerfile and github workflow version push
Browse files Browse the repository at this point in the history
  • Loading branch information
DSchreyer committed Jan 9, 2024
1 parent 65bca09 commit 47e4a88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
with:
file: modules/local/ampliconsuite/Dockerfile
push: true
tags: "quay.io/nf-core/prepareaa:1.0.0"
tags: "quay.io/nf-core/prepareaa:1.0.1"
23 changes: 8 additions & 15 deletions modules/local/ampliconsuite/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
# Dockerfile to create container with bcl2fastq
# Push to nfcore/bcl2fastq:<VER>

FROM continuumio/miniconda3
FROM mambaorg/micromamba
LABEL authors="Daniel Schreyer <[email protected]>" \
description="Docker image containing conda packages for ampliconsuite run"

RUN micromamba install --yes --name base -c bioconda -c conda-forge -c mosek \
bioconda::ampliconsuite=1.2.1 \
mosek::mosek=10.1.21
RUN micromamba clean --all --yes

WORKDIR /app

# Create the environment:
COPY environment.yml .
RUN conda env create -f environment.yml

# Activate the environment
SHELL ["conda", "activate", "-n", "ampliconsuite"]

# Test AmpliconSuite-pipeline.py
SHELL ["AmpliconSuite-pipeline.py", "--help"]
RUN echo "micromamba activate base" >> ~/.bashrc

COPY . .
# Start a bash shell by default
CMD ["/bin/bash"]

0 comments on commit 47e4a88

Please sign in to comment.