RUN apt install-y openssh-server locales curl git vim build-essential premake4 libevent-dev libsqlite3-dev liblua5.3-dev mono-complete sqlite3 p7zip-full
RUN env DEBIAN_FRONTEND=noninteractive apt install-y curl wget vim sudo git build-essential libssl1.0-dev libsqlite3-dev sqlite3 mono-complete p7zip-full redis-server
RUN ln-s /usr/lib/x86_64-linux-gnu/liblua5.3.so /usr/lib/liblua.so
RUN npm install pm2 -g
RUN npm install-g pm2
# 系统源
# libevent
#RUN sed -i 's/deb.debian.org/ftp.cn.debian.org/g' /etc/apt/sources.list
WORKDIR /
#RUN apt update
RUN wget 'https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz'-O libevent-2.0.22-stable.tar.gz --no-check-certificate&&\
tar xf libevent-2.0.22-stable.tar.gz &&\
# ssh
cd libevent-2.0.22-stable/ &&\
RUN mkdir-p /var/run/sshd
./configure &&\
RUN mkdir /root/.ssh
make &&\
RUN echo'PermitRootLogin yes'>> /etc/ssh/sshd_config