Skip to content

feat: mount host directory into container to persist SVM cache #102

Draft
brendontan03 wants to merge 1 commit intomainfrom
brendon/add-svm-cache
Draft

feat: mount host directory into container to persist SVM cache #102
brendontan03 wants to merge 1 commit intomainfrom
brendon/add-svm-cache

Conversation

@brendontan03
Copy link
Contributor

Summary

Adds a volume mount to persist the .svm cache from the container to the host.

Details

By mapping $PWD_DIR/.svm-cache to /root/.svm, toolchain downloads are reused across container runs, reducing setup time and avoiding repeated downloads when running the Docker image.

Also fixes this issue which is encountered in alicloud machines
img_v3_02ub_3dd613c3-78e2-455c-808f-5b3f4a88bchu

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.

1 participant