From 79eda4bcf952649b9c3070acbe93de3ef09f25ec Mon Sep 17 00:00:00 2001 From: LoGin Date: Thu, 10 Oct 2024 03:06:48 +0800 Subject: [PATCH] ci: fix docker run failed (#961) Signed-off-by: longjin --- tools/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/Dockerfile b/tools/Dockerfile index b819563c..7d803895 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -4,6 +4,8 @@ FROM ubuntu:jammy ENV TZ=Asia/Shanghai ENV RUSTUP_DIST_SERVER=https://static.rust-lang.org ENV RUSTUP_UPDATE_ROOT=https://static.rust-lang.org/rustup +ENV FORCE_UNSAFE_CONFIGURE=1 + RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # 设置工作目录 @@ -18,6 +20,7 @@ RUN apt update && \ bash bootstrap.sh --default && \ sudo cp /tmp/docker-entrypoint.sh /root/entrypoint.sh && \ sudo chmod a+rwx /root/entrypoint.sh && \ + git config --global --add safe.directory '*' && \ sudo apt autoremove -q -y && \ sudo apt clean -q -y && \ sudo rm -rf /tmp/*