From 589fc32746ff30df7315b6a34bf848130da41591 Mon Sep 17 00:00:00 2001 From: Table bird Date: Tue, 11 Feb 2025 12:08:56 +0800 Subject: [PATCH] build: fix install homebrew error of abort "Don't run this as root!" (#10076) --- .devcontainer/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index cc8665505e..7194d911ac 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,6 @@ FROM mcr.microsoft.com/devcontainers/base:bookworm +USER vscode # Install Homebrew For Linux RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && \ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && \