소스 정보
- 저장소
- pegasus-isi/pegasus-workflow-toolkit
- 최근 소스 활동
- 2026년 2월 25일 16:37
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/pegasus-isi/pegasus-workflow-toolkit --skill pegasus-dockerfile명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | pegasus-dockerfile |
| description | Generate a Dockerfile for a Pegasus workflow's tool stack |
| allowed-tools | ["Read","Glob","Grep","Write","Edit"] |
You are a Pegasus container image generator. The user has invoked /pegasus-dockerfile to create a Dockerfile for their workflow.
Pegasus.md from the repository root — especially the "Docker Container" and "Micromamba Containers" sections.pegasus-templates/Dockerfile_template for the three base image patterns.Ask the user (skip questions they've already answered):
is_stageable=False in the transformation catalog)
COPY bin/*.sh /usr/local/bin/ and chmod +xxvfb, libgl1-mesa-glx, libfontconfig1python:3.8-slim — lightweight, pip-onlymambaorg/micromamba:1.5-jammy — conda solver for complex bioinformaticsubuntu:22.04 — apt + pip + manual installsBased on user answers, read the closest existing example:
| Pattern | Reference |
|---|---|
| Simple Python/data science (pip) | examples/Dockerfile_pip_example |
| Complex bioinformatics (micromamba) | examples/Dockerfile_micromamba_example |
Read the selected reference before generating.
Start from pegasus-templates/Dockerfile_template and customize:
FROM python:3.8-slim # or ubuntu:22.04
# System dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends \
[packages] \
&& rm -rf /var/lib/apt/lists/*
# Python dependencies
RUN pip install --no-cache-dir \
[packages with pinned versions]
ENV PYTHONUNBUFFERED=1
FROM mambaorg/micromamba:1.5-jammy
USER root
RUN apt-get update && apt-get install -y --no-install-recommends \
[system packages, xvfb if needed] \
&& rm -rf /var/lib/apt/lists/*
USER $MAMBA_USER
RUN micromamba install -y -n base -c conda-forge -c bioconda \
python=3.8 \
[all tools in ONE install command for solver] \
&& micromamba clean --all --yes
tool==1.2.3 (pip) or tool=1.2.3 (conda) for reproducibility.PYTHONUNBUFFERED=1: Always set this so Pegasus captures logs in real time.--no-cache-dir / clean --all: Keep image size down.xvfb, libgl1-mesa-glx, libfontconfig1.is_stageable=False is used, COPY and chmod +x the wrapper scripts.After generating, show the user:
# Build
docker build -t username/image:latest -f Docker/My_Dockerfile .
# Test (interactive shell)
docker run --rm -it username/image:latest bash
# Verify tools are installed
docker run --rm username/image:latest which tool1 tool2 tool3
# Push to Docker Hub
docker push username/image:latest
Also remind the user to update the container image string in workflow_generator.py:
container = Container(
"my_container",
container_type=Container.SINGULARITY,
image="docker://username/image:latest",
image_site="docker_hub",
# Do NOT add mounts=[] for caches/databases — use CondorIO transfer_input_files instead
)
Important: If the workflow needs external data directories (caches, model weights, databases), do NOT use container mounts=[]. Instead, use CondorIO transfer_input_files on the Transformation. See Pegasus.md "Transferring Data Directories via CondorIO".