Skip to content

increase build cache hit to reduce the build time.#49

Open
1mujue wants to merge 5 commits into
devfrom
zlc-dev
Open

increase build cache hit to reduce the build time.#49
1mujue wants to merge 5 commits into
devfrom
zlc-dev

Conversation

@1mujue

@1mujue 1mujue commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Feature: Change the structure of Dockerfile and requirements.txt to make rbnx build (which will use docker build) have more docker layer cache hit and make it easier to use HTTP_PROXY. The change will be shown later.

  1. How to use proxy easier? Look at this example:
    RUN without-proxy python3 -m pip install(NOT use proxy)
    RUN with-build-proxy python3 -m pip install(use proxy)
  2. To supervise the install progress of pip, add --progress-bar raw.
  3. The requirements.txt(it is reserved) has been spilt into 4 parts: scene-base.txt, scene-perception-core.txt, scene-perception-heavy.txt, scene-pytorch3d.txt. All of them are in requirements DIRECTORY. Use four RUN pip install command to install them repectively could increase the cache hit.

@1mujue 1mujue requested a review from KouweiLee June 1, 2026 05:20
@enkerewpo enkerewpo added the enhancement New feature or request label Jun 1, 2026
@enkerewpo enkerewpo added this to the robonix v0.1 milestone Jun 1, 2026
@enkerewpo enkerewpo requested a review from HeartLinked June 5, 2026 04:03
@enkerewpo enkerewpo added the module Core module / feature development label Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request module Core module / feature development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants