代码拉取完成,页面将自动刷新
同步操作将从 NiCEDA/OpenEDI 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LOGIN_USR=root
ENV LOGIN_PWD=Passw0rd
RUN echo "Configure source.list" &&\
cd /etc/apt &&\
mv sources.list sources.list.bak &&\
echo '\
deb http://mirrors.163.com/ubuntu/ focal main restricted universe multiverse \n\
deb http://mirrors.163.com/ubuntu/ focal-security main restricted universe multiverse \n\
deb http://mirrors.163.com/ubuntu/ focal-updates main restricted universe multiverse \n\
deb http://mirrors.163.com/ubuntu/ focal-backports main restricted universe multiverse \n'\
> /etc/apt/sources.list
RUN echo "Configure SSH Service" &&\
cat /etc/apt/sources.list &&\
apt update &&\
apt -y install openssh-server &&\
mkdir /run/sshd &&\
sed -i "s/^#PasswordAuth/PasswordAuth/g" /etc/ssh/sshd_config &&\
sed -i "s/.*PermitRootLogin.*/PermitRootLogin yes/g" /etc/ssh/sshd_config &&\
echo "${LOGIN_USR}:${LOGIN_PWD}" | chpasswd &&\
echo "#!/bin/bash" > /entrypoint.sh &&\
echo "[ ! -d /run/sshd ] && mkdir /var/run" >> /entrypoint.sh &&\
echo "/usr/sbin/sshd -D" >> /entrypoint.sh
RUN echo "Install Compiler Environment" &&\
apt -y install gcc g++ git wget cmake vim libboost1.71-all-dev tcl-dev tk tk-dev flex bison build-essential libfontconfig1 mesa-common-dev libglu1-mesa-dev libbison-dev doxygen graphviz ghostscript lz4 liblz4-dev zstd libzstd-dev zip libzip-dev libreadline-dev libunwind-dev qt5-default &&\
cd /tmp &&\
wget --no-check-certificate https://github.com/gperftools/gperftools/releases/download/gperftools-2.9.1/gperftools-2.9.1.tar.gz &&\
tar xvf gperftools-2.9.1.tar.gz &&\
cd gperftools-2.9.1/ &&\
./configure &&\
make && make install &&\
rm -rf /tmp/gperftools-2.9.1/ &&\
echo "Configure Environment" &&\
echo "export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/local/lib:\${LD_LIBRARY_PATH}" >> ~/.bashrc
# Inform which port could be opened
EXPOSE 22
# Exec configuration to container
CMD sh /entrypoint.sh
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。