Skip to content

Commit 91c48f0

Browse files
committed
fix: try with --user mapping
1 parent f3be54d commit 91c48f0

File tree

3 files changed

+1
-20
lines changed

3 files changed

+1
-20
lines changed

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ package: build/package.BUILT
269269

270270
build/package.BUILT: build strip
271271
mkdir -p dist
272-
./docker_ensure_git_access.sh
273272
./deb_from_installation.sh $(shell pwd)/dist "$(VERSION)" "$(BUILD_PREFIX)"
274273
./tar_from_installation.sh "$(shell pwd)/dist" "$(VERSION)" "$(BUILD_PREFIX)"
275274
touch build/package.BUILT

docker_build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ docker build -t wasi-sdk-builder:latest .
66

77
echo "Building the package in docker image"
88
mkdir -p ~/.ccache
9-
docker run --rm -v "$PWD":/workspace -v ~/.ccache:/root/.ccache -e NINJA_FLAGS=-v --workdir /workspace --tmpfs /tmp:exec wasi-sdk-builder:latest make package LLVM_CMAKE_FLAGS=-DLLVM_CCACHE_BUILD=ON
9+
docker run --rm --user $(id -u):$(id -g) -v "$PWD":/workspace:Z -v ~/.ccache:/root/.ccache:Z -e NINJA_FLAGS=-v --workdir /workspace --tmpfs /tmp:exec wasi-sdk-builder:latest make package LLVM_CMAKE_FLAGS=-DLLVM_CCACHE_BUILD=ON

docker_ensure_git_access.sh

-18
This file was deleted.

0 commit comments

Comments
 (0)