build: fix install homebrew error of abort "Don't run this as root!" (#10076)
This commit is contained in:
1 parent
c8c7b7b65c
commit
589fc32746
1 file changed
+1
@@ -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)" && \
|
||||
|
||||
Reference in new issue
Block a user