From 534d8246ba29f5a089bd4ce2f6c444234638138e Mon Sep 17 00:00:00 2001 From: Rom4ka Date: Sat, 27 Dec 2025 22:02:38 -0300 Subject: [PATCH 1/3] toolchain updated --- toolchain/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/Dockerfile b/toolchain/Dockerfile index 3f75538..32a0cfd 100644 --- a/toolchain/Dockerfile +++ b/toolchain/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:buster-slim +FROM debian/eol:buster-slim ENV DEBIAN_FRONTEND noninteractive ENV TZ=America/New_York @@ -39,4 +39,4 @@ RUN cat ./setup-env.sh >> .bashrc VOLUME /root/workspace WORKDIR /root/workspace -CMD ["/bin/bash"] \ No newline at end of file +CMD ["/bin/bash"] From 83be7fd76c71f844b08d863384bece11fba1a416 Mon Sep 17 00:00:00 2001 From: Rom4ka Date: Sat, 27 Dec 2025 23:11:52 -0300 Subject: [PATCH 2/3] set git safe.directory to workspace to get commit hash during make --- toolchain/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/makefile b/toolchain/makefile index 102a27e..7f5f37b 100644 --- a/toolchain/makefile +++ b/toolchain/makefile @@ -16,7 +16,7 @@ NORM=$(shell tput sgr0) ifeq ($(CONTAINER_NAME),) shell: .build $(info $(BOLD)Starting $(TOOLCHAIN_NAME)...$(NORM)) - docker run -it --rm -v "$(WORKSPACE_DIR)":/root/workspace $(TOOLCHAIN_NAME) /bin/bash + docker run -it --rm -v "$(WORKSPACE_DIR)":/root/workspace $(TOOLCHAIN_NAME) /bin/bash -c "git config --global --add safe.directory /root/workspace && exec bash" else shell: $(info $(BOLD)Connecting to running $(TOOLCHAIN_NAME)...$(NORM)) From 7dd3f26d4643b44773c18b4594459ef67b4cad88 Mon Sep 17 00:00:00 2001 From: Rom4ka Date: Sat, 27 Dec 2025 23:27:09 -0300 Subject: [PATCH 3/3] set git safe.directory to workspace to get commit hash during make (recursive) --- toolchain/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/makefile b/toolchain/makefile index 7f5f37b..47babe4 100644 --- a/toolchain/makefile +++ b/toolchain/makefile @@ -16,7 +16,7 @@ NORM=$(shell tput sgr0) ifeq ($(CONTAINER_NAME),) shell: .build $(info $(BOLD)Starting $(TOOLCHAIN_NAME)...$(NORM)) - docker run -it --rm -v "$(WORKSPACE_DIR)":/root/workspace $(TOOLCHAIN_NAME) /bin/bash -c "git config --global --add safe.directory /root/workspace && exec bash" + docker run -it --rm -v "$(WORKSPACE_DIR)":/root/workspace $(TOOLCHAIN_NAME) /bin/bash -c "git config --global --add safe.directory '*' && exec bash" else shell: $(info $(BOLD)Connecting to running $(TOOLCHAIN_NAME)...$(NORM))