Skip to content

nextflow slurm 容器

FROM wangyang1749/slurm-cluster:2.0

# From project root!
# docker build -f docker/flux/.devcontainer/Dockerfile -t nextflow-flux .
# docker run -it nextflow-flux
# make

LABEL maintainer="WangYang 1749748955@qq.com"

# Pip not provided in this version
USER root
RUN apt-get update && apt-get install -y python3-venv default-jdk
ENV PYTHONPATH=/usr/lib/flux/python3.8

# For optional usage of Python bindings.
# RUN python3 -m pip install IPython
ENV PATH=/env/bin:${PATH}
WORKDIR /code
COPY . /code
ENTRYPOINT /bin/bash
# docker build -f docker/slurm/Dockerfile --platform linux/amd64 -o type=docker -t nextflow-slurm .
# docker run -it -v $PWD:/code nextflow-slurm
# make pack
# docker commit -a "wangyang" -m "nextflow slurm" c0bfc78c6d42 nextflow-slurm:1.0