diff --git a/Dockerfile b/Dockerfile index f303bd6..c2ebb28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,8 @@ RUN export http_proxy=${PROXY} && \ export https_proxy=${PROXY} && \ # 安装 brew curl -ofsSL install.sh https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash && \ + (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /root/.bashrc && \ + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && \ # 安装 n node 管理器 brew install n && \ # 安装最新版本 node