Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gitiy1 authored Nov 25, 2021
1 parent ec3ba8e commit 13b662a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ FROM debian
RUN apt update
RUN DEBIAN_FRONTEND=noninteractive apt install ssh wget git unzip -y
RUN mkdir /run/sshd
RUN echo 'wget -O install.sh https://cdn.jsdelivr.net/gh/yszalxh/bthua@master/bt.sh && bash install.sh' >>/iy.sh
RUN echo 'rm -f /www/server/panel/data/admin_path.pl' >>/iy.sh
RUN echo 'wget -O install.sh https://cdn.jsdelivr.net/gh/gitiy1/cloud@master/bt.sh && bash install.sh' >>/iy.sh
RUN echo '/usr/sbin/sshd -D' >>/iy.sh
RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
RUN echo root:iceyear|chpasswd
RUN chmod 755 /iy.sh
EXPOSE 8888
EXPOSE 5212
CMD /iy.sh

0 comments on commit 13b662a

Please sign in to comment.