From 825830dcad519185aa51525a2727045703d7de8c Mon Sep 17 00:00:00 2001 From: zontreck Date: Tue, 2 Jul 2024 16:06:11 -0700 Subject: [PATCH] Mark the flutter directory safe --- docker_images/builddeps/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker_images/builddeps/Dockerfile b/docker_images/builddeps/Dockerfile index d1ec045..a8e9232 100644 --- a/docker_images/builddeps/Dockerfile +++ b/docker_images/builddeps/Dockerfile @@ -2,9 +2,13 @@ FROM ghcr.io/parkervcp/yolks:debian WORKDIR / +USER 0 + RUN apt-get update RUN apt-get upgrade -y RUN apt-get install -y git wget curl unzip xz-utils zip libglu1-mesa clang cmake ninja-build pkg-config liblzma-dev libstdc++-12-dev rsync RUN wget -O flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.22.1-stable.tar.xz -RUN tar -xvf flutter.tar.xz \ No newline at end of file +RUN tar -xvf flutter.tar.xz + +RUN git config --global --add safe.directory /flutter \ No newline at end of file