更新 Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
mol
2024-02-24 15:47:47 +00:00
parent 4d5bec5eca
commit b700516bf8

View File

@ -9,7 +9,7 @@ WORKDIR /home/coder
VOLUME [ "/home/coder/project", "/home/coder/.ssh", "/home/coder/.local", "/home/coder/.config" ] VOLUME [ "/home/coder/project", "/home/coder/.ssh", "/home/coder/.local", "/home/coder/.config" ]
COPY entrypoint.sh /usr/bin/ COPY entrypoint.sh /usr/bin/
COPY install.sh /home/coder/ COPY install.sh /root/
ENV ENTRYPOINTD=/entrypoint.d ENV ENTRYPOINTD=/entrypoint.d
@ -41,8 +41,8 @@ RUN echo "安装基础工具与配置文件" && \
# apt-get install -y npm && \ # apt-get install -y npm && \
# 安装 brew 管理器 # 安装 brew 管理器
# git clone https://mirrors.aliyun.com/homebrew/install.git brew-install && \ # git clone https://mirrors.aliyun.com/homebrew/install.git brew-install && \
/bin/bash ~/install.sh && \ /bin/bash /root/install.sh && \
rm -rf ~/install.sh && \ rm -rf /root/install.sh && \
echo 'export HOMEBREW_API_DOMAIN="https://mirrors.aliyun.com/homebrew-bottles/api"' >> ~/.bash_profile && \ echo 'export HOMEBREW_API_DOMAIN="https://mirrors.aliyun.com/homebrew-bottles/api"' >> ~/.bash_profile && \
echo 'export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.aliyun.com/homebrew/brew.git"' >> ~/.bash_profile && \ echo 'export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.aliyun.com/homebrew/brew.git"' >> ~/.bash_profile && \
echo 'export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.aliyun.com/homebrew/homebrew-core.git"' >> ~/.bash_profile && \ echo 'export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.aliyun.com/homebrew/homebrew-core.git"' >> ~/.bash_profile && \