-
Notifications
You must be signed in to change notification settings - Fork 14
Improve incremental container builds #295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
aristarkhovNV
wants to merge
17
commits into
main
Choose a base branch
from
aaristarkhov/containers
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+169
−122
Draft
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
cc5d1b4
Unify test and runtime container builds under compose
aristarkhovNV d4d4fff
Add .dockerignore for faster incremental container builds
aristarkhovNV 0522c03
Reorder COPY commands in Dockerfile.test for better caching
aristarkhovNV 9c88ae9
Remove redundant WORKDIR command in Dockerfile.test
aristarkhovNV d2e4a5b
remove redundant lines from .dockerignore
aristarkhovNV 5e3b764
Add src directory to .dockerignore for ros2 workflows
aristarkhovNV 117451f
Allow .git directory in .dockerignore to compute isaacteleop package …
aristarkhovNV fbbb7fa
Update .dockerignore to allow source builds
aristarkhovNV ea69e7a
Remove clang-format installation from Dockerfile
aristarkhovNV 358a422
remove git dependency from local version calculation
aristarkhovNV d3ed299
Remove git installation from Dockerfile and update .dockerignore to a…
aristarkhovNV ebae3f3
Update Docker Buildx action to version 4.0.0 in build workflow
aristarkhovNV a161b0b
Update Docker build step to use build-push-action for teleop_ros2 image
aristarkhovNV c7973c4
Clean up build artifacts after installation in Dockerfile
aristarkhovNV c15d8fb
Update cache mode in build workflow and simplify Dockerfile build steps
aristarkhovNV 630d0d3
Use caching only for teleop_ros2 base stage in Docker build workflow
aristarkhovNV 8ee44eb
Refactor Docker build step for teleop_ros2 image to use direct docker…
aristarkhovNV File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Keep Docker build contexts lean for CloudXR compose builds. | ||
| # Ignore everything by default, then allow only what current Dockerfiles need. | ||
|
|
||
| * | ||
|
|
||
| # Allow Docker metadata files. | ||
| !.dockerignore | ||
|
|
||
| # Allow CloudXR Dockerfiles and runtime assets. | ||
| !deps/cloudxr/ | ||
|
|
||
| # Allow build artifacts and tests consumed by Dockerfile.test and Dockerfile.runtime. | ||
| !install/ | ||
| !examples/ | ||
|
|
||
| # Allow building from source for ros2 workflows | ||
| !cmake/ | ||
| !deps/ | ||
| !src/ | ||
| !CMakeLists.txt | ||
| !VERSION | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Redundant pattern at line 10.
Line 10 (
!deps/cloudxr/) is redundant because line 18 (!deps/) already re-includes the entiredeps/directory. Consider removing line 10 and its associated comment.🔧 Suggested fix
🤖 Prompt for AI Agents