Skip to content

feat: add apptainer.def for building SIF image - #1

Draft
joserafaelrebelo with Copilot wants to merge 23 commits into
mainfrom
copilot/create-sif-image
Draft

feat: add apptainer.def for building SIF image#1
joserafaelrebelo with Copilot wants to merge 23 commits into
mainfrom
copilot/create-sif-image

Conversation

Copilot AI commented Aug 2, 2026

Copy link
Copy Markdown

Provides an Apptainer definition file to build a .sif container image equivalent to the existing Docker image, targeting the industrial_env branch.

What's added

  • apptainer.def — mirrors the multi-stage Dockerfile with these key adaptations:
    • Bootstraps from nvcr.io/nvidia/isaac-sim:4.5.0
    • Replaces the COPY --from=cuda multi-stage trick by installing cuda-toolkit-12-8 via NVIDIA's apt repo in %post (provides nvcc + headers for cuRobo CUDA extension compilation)
    • %arguments for parameterised builds (CUDA version, GPU arch, minimal vs. full install) — requires Apptainer ≥ 1.1
    • %files mirrors the Dockerfile COPY instructions (pyproject.toml, uv.lock, third_party, src)
    • %runscript maps ENTRYPOINT ["/usr/bin/env"] CMD ["/bin/bash"]
    • Full %help with build/run invocations

Build

export APPTAINER_DOCKER_USERNAME=\$oauthtoken
export APPTAINER_DOCKER_PASSWORD=<NGC_API_KEY>

# Minimal (default)
apptainer build --nv simple.sif apptainer.def

# Full install + custom GPU arch
apptainer build --nv \
  --build-arg TORCH_CUDA_ARCH_LIST=8.9+PTX \
  --build-arg SIMPLE_FULL_INSTALL=1 \
  simple.sif apptainer.def

Run

apptainer run --nv simple.sif
apptainer exec --nv simple.sif uv run eval --headless

gstvmt and others added 23 commits May 27, 2026 22:52
- ArticulatedAsset ganha static/usd_scale; Isaac usa add_static_prop para
  mobilia de 0 juntas e vincula OmniPBR (de-instanciando antes) no fim do reset
- MuJoCo: tint por rgba, flag no_collision, arena de 256 MB
- teleop grava o prompt por episodio via exporter.task; HUD no stream do VR

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Malhas visuais e de colisao do TableTrolley e do MobileShelvingCart (6.7 MB)
para que ninguem precise reconverter so para rodar a task. Os USDs baixados
ficam de fora: so servem para regenerar, e o Isaac referencia os originais
remotamente ao renderizar.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sortimento por cor: parafusos no tote vermelho -> prateleira esquerda,
chaves no azul -> direita. Quantidades sorteadas por episodio entram no
prompt e no criterio de sucesso, com roundtrip de replay.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…e hosts

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants