-
Notifications
You must be signed in to change notification settings - Fork 918
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
[Bug Report] Docker container always rebuilds upon "start" #1375
Comments
This is due to a relatively early |
I tried to reproduce but could not. COPY should hash all copied files. if this hash is different for any file it will rerun. Are you sure no files are changed? Running with a change in a .py which triggers the build:
stop the container:
no changes, rerun the container:
|
Yeah I think the COPY is the culprit, since my development environments were under extensions as part of the main Isaac Lab repository. I was actually not aware of the Isaac Lab Extensions Template (https://github.com/isaac-sim/IsaacLabExtensionTemplate/tree/main) which seems a much better way of developing additional environments, etc. in Isaac Lab. Switching to the Extension template basically avoids this issue all-together, and seems to be the recommended approach (that I somehow missed) so I'd be happy for this issue to be closed. |
Describe the bug
Whenever the docker container is started (with
./container.py start
) it gets rebuilt despite no changes happening to the Dockerfile which takes about two minutes each time. Some parts do get loaded from cache but not all of them, which still takes a significant amount of time to build. Is this intended or a bug?Steps to reproduce
System Info
Describe the characteristic of your environment:
Additional context
Add any other context about the problem here.
Checklist
Acceptance Criteria
Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.
The text was updated successfully, but these errors were encountered: