fscarmen【Sing-box 全家桶】
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
test/Dockerfile

13 lines
447 B

FROM ubuntu:latest
WORKDIR /root/
RUN apt-get update &&\
apt-get install -y wget iproute2 openssh-server systemctl &&\
echo \
'service ssh start\
wget -O nezha.sh https://raw.githubusercontents.com/naiba/nezha/master/script/install.sh && chmod +x nezha.sh && ./nezha.sh install_agent $NEZHA_SERVER $NEZHA_PORT $NEZHA_KEY\
tail -f /dev/null' | sed 's/ */\n/g' > "start.sh" &&\
chmod +x start.sh
ENTRYPOINT ./start.sh