feat: test
This commit is contained in:
18
Dockerfile
18
Dockerfile
@ -13,8 +13,8 @@ ARG PROXY
|
||||
# ENV http_proxy=${PROXY}
|
||||
|
||||
# 安装基础工具与配置文件
|
||||
RUN export http_proxy=$http_proxy && \
|
||||
export https_proxy=$https_proxy && \
|
||||
RUN export http_proxy=${PROXY} && \
|
||||
export https_proxy=${PROXY} && \
|
||||
apt-get update && \
|
||||
# 安装 curl
|
||||
apt-get install -y curl && \
|
||||
@ -28,10 +28,10 @@ RUN export http_proxy=$http_proxy && \
|
||||
touch info.log
|
||||
|
||||
# 安装 node 环境
|
||||
RUN export http_proxy=$http_proxy && \
|
||||
export https_proxy=$https_proxy && \
|
||||
RUN export http_proxy=${PROXY} && \
|
||||
export https_proxy=${PROXY} && \
|
||||
# 安装 brew
|
||||
curl -ofsSL install.sh https://raw.fgit.cf/Homebrew/install/HEAD/install.sh | bash && \
|
||||
curl -ofsSL install.sh https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash && \
|
||||
# 安装 n node 管理器
|
||||
brew install n && \
|
||||
# 安装最新版本 node
|
||||
@ -40,16 +40,16 @@ RUN export http_proxy=$http_proxy && \
|
||||
npm i -g live-server
|
||||
|
||||
# 安装 python 环境
|
||||
RUN export http_proxy=$http_proxy && \
|
||||
export https_proxy=$https_proxy && \
|
||||
RUN export http_proxy=${PROXY} && \
|
||||
export https_proxy=${PROXY} && \
|
||||
apt update && \
|
||||
apt install software-properties-common && \
|
||||
add-apt-repository ppa:deadsnakes/ppa && \
|
||||
apt install python3.8
|
||||
|
||||
# 安装 docker 环境
|
||||
RUN export http_proxy=$http_proxy && \
|
||||
export https_proxy=$https_proxy && \
|
||||
RUN export http_proxy=${PROXY} && \
|
||||
export https_proxy=${PROXY} && \
|
||||
apt update && \
|
||||
apt install docker.io
|
||||
|
||||
|
Reference in New Issue
Block a user