diff --git a/Makefile.toml b/Makefile.toml index 621b3979..d3d2f75e 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -212,7 +212,7 @@ echo "📖 Documentation has been successfully generated and available at $(pwd) description = "Build optimized wasm using CosmWasm optimizer and provide checksums" script = ''' echo "📦 Generating release binaries and checksums into ${DIR_WASM}" -docker run --rm -v "$(pwd)":/code \ +docker run --rm --user $(id -u):$(id -g) -v "$(pwd)":/code \ --mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ cosmwasm/optimizer:0.15.1