mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-02-02 01:38:14 -05:00
feat: 🎸 xxxxxxx
This commit is contained in:
parent
36079b7af4
commit
3da2e5bd62
31
Dockerfile
31
Dockerfile
@ -4,29 +4,14 @@ ENV TZ=Asia/Shanghai \
|
|||||||
|
|
||||||
ADD . /app
|
ADD . /app
|
||||||
|
|
||||||
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse\n \
|
RUN sed -i "s@http://.*archive.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list& \
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse\n\
|
&& sed -i "s@http://.*security.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list \
|
||||||
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse\n\
|
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone\
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multivers\ne\
|
&& apt update && apt install git python3 npm make curl wget -y \
|
||||||
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse\n\
|
&& mkdir /usr/include/nlohmann/ && cd /usr/include/nlohmann/ && wget https://github.com/nlohmann/json/releases/download/v3.10.5/json.hpp \
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse\n\
|
&& npm config set registry http://registry.npm.taobao.org && npm install -g node-gyp \
|
||||||
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse\n\
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse\n\
|
|
||||||
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse\n\
|
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse\n" >/etc/apt/sources.list \
|
|
||||||
&& apt update \
|
|
||||||
&& apt install -y tzdata \
|
|
||||||
&& ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \
|
|
||||||
&& echo ${TZ} >/etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata \
|
|
||||||
&& apt-get clean \
|
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
|
||||||
&& apt update \
|
|
||||||
&& apt install git python3 npm make curl wget -y \
|
|
||||||
&& mkdir /usr/include/nlohmann/ \
|
|
||||||
&& cd /usr/include/nlohmann/ \
|
|
||||||
&& wget https://github.com/nlohmann/json/releases/download/v3.10.5/json.hpp \
|
|
||||||
&& npm config set registry http://registry.npm.taobao.org \
|
|
||||||
&& npm install -g node-gyp
|
|
||||||
|
|
||||||
RUN curl -s https://install.zerotier.com | bash \
|
RUN curl -s https://install.zerotier.com | bash \
|
||||||
&& cd /opt && git clone -v http://gh-proxy.markxu.vip/https://github.com/key-networks/ztncui.git --depth 1 \
|
&& cd /opt && git clone -v http://gh-proxy.markxu.vip/https://github.com/key-networks/ztncui.git --depth 1 \
|
||||||
|
Loading…
Reference in New Issue
Block a user