Skip to content

Commit

Permalink
build snakemake with mamba (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Co-authored-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch and vsoch committed Mar 24, 2023
1 parent 94ab5a5 commit 19c2045
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
24 changes: 24 additions & 0 deletions snakemake/mamba/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
ARG tag=mamba
FROM ghcr.io/rse-ops/flux-conda:${tag}
LABEL org.opencontainers.image.authors="@vsoch"

# Mamba + snakemake base for the Flux Operator

USER root
ENV LANG C.UTF-8
ENV SHELL /bin/bash

RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install \
wget curl bzip2 ca-certificates gnupg2 squashfs-tools git \
&& apt-get clean \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN mamba install -c bioconda -c conda-forge snakemake snakemake-minimal && \
mamba install -q -y -c conda-forge singularity && \
conda clean --all -y && \
which python && \
pip install .[reports,messaging,google-cloud]

WORKDIR /workflow
7 changes: 7 additions & 0 deletions snakemake/mamba/uptodate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dockerbuild:

build_args:
tag:
key: app
versions:
- mamba

0 comments on commit 19c2045

Please sign in to comment.