Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

build: fix install homebrew error of abort "Don't run this as root!" (#10076)

Table bird589fc32746ff
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)" && \