Closed webmaster128 closed 3 months ago
By mounting -v $(shell pwd)/libwasmvm:/code in the main Makefile, builders write to a target folder in the host file system. We should let them write to a mounted volume instead.
-v $(shell pwd)/libwasmvm:/code
This avoids the need for those clearing steps:
rm -rf target/aarch64-unknown-linux-musl/release rm -rf target/x86_64-unknown-linux-musl/release
After this change the build should not write to the host anymore. So we can drop the -u $(USER_ID):$(USER_GROUP) part from the calling convention.
-u $(USER_ID):$(USER_GROUP)
By mounting
-v $(shell pwd)/libwasmvm:/code
in the main Makefile, builders write to a target folder in the host file system. We should let them write to a mounted volume instead.This avoids the need for those clearing steps: