feat: test
This commit is contained in:
@ -35,7 +35,7 @@ RUN export http_proxy=${PROXY} && \
|
|||||||
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /root/.bashrc && \
|
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /root/.bashrc && \
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && \
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install build-essential && \
|
apt-get install -y build-essential && \
|
||||||
# 安装 n node 管理器
|
# 安装 n node 管理器
|
||||||
brew install n && \
|
brew install n && \
|
||||||
# 安装最新版本 node
|
# 安装最新版本 node
|
||||||
@ -47,15 +47,15 @@ RUN export http_proxy=${PROXY} && \
|
|||||||
RUN export http_proxy=${PROXY} && \
|
RUN export http_proxy=${PROXY} && \
|
||||||
export https_proxy=${PROXY} && \
|
export https_proxy=${PROXY} && \
|
||||||
apt update && \
|
apt update && \
|
||||||
apt install software-properties-common && \
|
apt install -y software-properties-common && \
|
||||||
add-apt-repository ppa:deadsnakes/ppa && \
|
add-apt-repository ppa:deadsnakes/ppa && \
|
||||||
apt install python3.8
|
apt install -y python3.8
|
||||||
|
|
||||||
# 安装 docker 环境
|
# 安装 docker 环境
|
||||||
RUN export http_proxy=${PROXY} && \
|
RUN export http_proxy=${PROXY} && \
|
||||||
export https_proxy=${PROXY} && \
|
export https_proxy=${PROXY} && \
|
||||||
apt update && \
|
apt update && \
|
||||||
apt install docker.io
|
apt install -y docker.io
|
||||||
|
|
||||||
# 配置 ssh
|
# 配置 ssh
|
||||||
RUN rm -f /etc/ssh/ssh_host_rsa_key && \
|
RUN rm -f /etc/ssh/ssh_host_rsa_key && \
|
||||||
|
Reference in New Issue
Block a user