From 8800fb2a4d0b4cfef0ab9d843422a95275e0b86b Mon Sep 17 00:00:00 2001 From: Mick Grove Date: Sat, 26 Jul 2025 08:41:21 -0700 Subject: [PATCH 1/2] fixing docker build permission error in github actions --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index e662d7e..19777fb 100644 --- a/Makefile +++ b/Makefile @@ -241,6 +241,7 @@ endif linux-x64: check-docker create-dockerignore @mkdir -p target/release docker run --platform linux/amd64 --rm \ + --user "$(shell id -u):$(shell id -g)" \ -v "$$(pwd):/src" -w /src rust:1.88-alpine sh -eu -c '\ apk add --no-cache \ musl-dev \ @@ -270,6 +271,7 @@ linux-x64: check-docker create-dockerignore linux-arm64: check-docker create-dockerignore @mkdir -p target/release docker run --platform linux/arm64 --rm \ + --user "$(shell id -u):$(shell id -g)" \ -v "$$(pwd):/src" -w /src rust:1.88-alpine sh -eu -c '\ apk add --no-cache \ musl-dev \ From 37b7c9770eb804ec80889b1c6897d12c297a577c Mon Sep 17 00:00:00 2001 From: Mick Grove Date: Sat, 26 Jul 2025 08:46:19 -0700 Subject: [PATCH 2/2] fixing docker build permission error in github actions --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 19777fb..33c3998 100644 --- a/Makefile +++ b/Makefile @@ -241,7 +241,7 @@ endif linux-x64: check-docker create-dockerignore @mkdir -p target/release docker run --platform linux/amd64 --rm \ - --user "$(shell id -u):$(shell id -g)" \ + --user "$(shell id -u):$(shell id -g)" \ -v "$$(pwd):/src" -w /src rust:1.88-alpine sh -eu -c '\ apk add --no-cache \ musl-dev \ @@ -271,7 +271,7 @@ linux-x64: check-docker create-dockerignore linux-arm64: check-docker create-dockerignore @mkdir -p target/release docker run --platform linux/arm64 --rm \ - --user "$(shell id -u):$(shell id -g)" \ + --user "$(shell id -u):$(shell id -g)" \ -v "$$(pwd):/src" -w /src rust:1.88-alpine sh -eu -c '\ apk add --no-cache \ musl-dev \