feat:
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
mol
2024-01-27 13:00:12 +08:00
parent 5d1776632b
commit 10b8923d05
3 changed files with 85 additions and 7 deletions

View File

@ -13,7 +13,8 @@ ARG PROXY
# ENV http_proxy=${PROXY}
# 安装基础工具与配置文件
RUN export http_proxy=${PROXY} && \
RUN echo "安装基础工具与配置文件" && \
export http_proxy=${PROXY} && \
export https_proxy=${PROXY} && \
apt-get update && \
# 时区
@ -31,7 +32,8 @@ RUN export http_proxy=${PROXY} && \
touch info.log
# 安装 node 环境
RUN export http_proxy=${PROXY} && \
RUN echo "安装 node 环境" && \
export http_proxy=${PROXY} && \
export https_proxy=${PROXY} && \
# 安装 brew
curl -ofsSL install.sh https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash && \
@ -47,7 +49,8 @@ RUN export http_proxy=${PROXY} && \
npm i -g live-server
# 安装 python 环境
RUN export http_proxy=${PROXY} && \
RUN echo "安装 python 环境" && \
export http_proxy=${PROXY} && \
export https_proxy=${PROXY} && \
apt update && \
apt install -y software-properties-common && \
@ -55,13 +58,15 @@ RUN export http_proxy=${PROXY} && \
apt install -y python3.8 python3.8-dev python3.8-venv python3-pip python3-wheel
# 安装 docker 环境
RUN export http_proxy=${PROXY} && \
RUN echo "安装 docker 环境" && \
export http_proxy=${PROXY} && \
export https_proxy=${PROXY} && \
apt update && \
apt install -y docker.io
# 配置 ssh
RUN rm -f /etc/ssh/ssh_host_rsa_key && \
RUN echo "配置 ssh" && \
rm -f /etc/ssh/ssh_host_rsa_key && \
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' && \
rm -f /etc/ssh/ssh_host_dsa_key && \
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N '' && \