Datasets:
Download code/dynamic_demo/Dockerfile from Heiheihaha17/MESH-Benchmark: direct link, hf CLI and curl.
- Browser
- Download file 2.18 kB
-
https://huggingface.co/datasets/Heiheihaha17/MESH-Benchmark/resolve/main/code/dynamic_demo/Dockerfile
- Command line
-
hf download hf://datasets/Heiheihaha17/MESH-Benchmark/code/dynamic_demo/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/Heiheihaha17/MESH-Benchmark/resolve/main/code/dynamic_demo/Dockerfile
2.18 kB
| # Build context is the repository root or the extracted reproduction bundle root. | |
| FROM ubuntu:24.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| python3 python3-dev python3-venv git git-lfs build-essential cmake ninja-build \ | |
| libegl1-mesa-dev libgl1-mesa-dev libopengl-dev libgl1-mesa-dri libsndfile1 \ | |
| ca-certificates curl && rm -rf /var/lib/apt/lists/* | |
| RUN python3 -m venv /opt/venv | |
| ENV PATH=/opt/venv/bin:$PATH | |
| COPY dynamic_demo/requirements.txt /tmp/requirements.txt | |
| RUN pip install --no-cache-dir -r /tmp/requirements.txt | |
| COPY generation/native/source_xyz.patch /tmp/source_xyz.patch | |
| ARG HABITAT_COMMIT=57ee4941dc4765240f0f91f70b2c97a919bf9038 | |
| ARG RLR_COMMIT=4fd446b4abb5c71fb7a232a083bbddd65f25fc6f | |
| RUN git init /opt/habitat-sim && cd /opt/habitat-sim && \ | |
| git remote add origin https://github.com/facebookresearch/habitat-sim.git && \ | |
| git fetch --depth=1 origin "$HABITAT_COMMIT" && git checkout --detach FETCH_HEAD && \ | |
| git submodule update --init --recursive --depth=1 \ | |
| src/deps/assimp src/deps/corrade src/deps/magnum src/deps/magnum-bindings \ | |
| src/deps/magnum-integration src/deps/magnum-plugins src/deps/openexr \ | |
| src/deps/pybind11 src/deps/rapidjson src/deps/recastnavigation \ | |
| src/deps/rlr-audio-propagation src/deps/tinyobjloader src/deps/zstd && \ | |
| test "$(git -C src/deps/rlr-audio-propagation rev-parse HEAD)" = "$RLR_COMMIT" && \ | |
| git apply --check /tmp/source_xyz.patch && git apply /tmp/source_xyz.patch && \ | |
| CMAKE_BUILD_PARALLEL_LEVEL=4 HABITAT_WITH_AUDIO=ON HABITAT_BUILD_GUI_VIEWERS=OFF \ | |
| HABITAT_WITH_BULLET=OFF HABITAT_WITH_CUDA=OFF pip install --no-deps --no-build-isolation . | |
| RUN echo "31e948eef4908d8cbb403b5f445d9d0eab59fc81b05a658538f8795984f9bfb4 /opt/habitat-sim/src/deps/rlr-audio-propagation/RLRAudioPropagationPkg/libs/linux/x64/libRLRAudioPropagation.so" | sha256sum --check | |
| WORKDIR /opt/demo | |
| COPY . . | |
| ENV PYTHONUNBUFFERED=1 NUMBA_CACHE_DIR=/tmp/disrobot-numba-cache OMP_NUM_THREADS=2 OPENBLAS_NUM_THREADS=2 MKL_NUM_THREADS=2 | |
| CMD ["python", "-m", "dynamic_demo.render", "--root", "demo/dynamic", "--work", "/tmp/dish-render"] | |