增加ping telnet

This commit is contained in:
liu.chunxun 2024-05-09 17:25:19 +08:00
parent 16f96c2565
commit 6a0b0671cd

View File

@ -5,7 +5,7 @@ COPY nats-server /usr/bin/
COPY checksum /usr/bin/ COPY checksum /usr/bin/
COPY yuzhen_iot /yuzhen_iot/ COPY yuzhen_iot /yuzhen_iot/
COPY start.sh /home/ COPY start.sh /home/
RUN apt update;dpkg --add-architecture i386;apt update;apt install -y --no-install-recommends libstdc++6 lib32stdc++6 libc6:i386 libc6 libgcc-s1 libicu70 liblttng-ust1 zlib1g vim zip unzip wget openssh-server;\ RUN apt update;dpkg --add-architecture i386;apt update;apt install -y --no-install-recommends libstdc++6 lib32stdc++6 libc6:i386 libc6 libgcc-s1 libicu70 liblttng-ust1 zlib1g vim zip unzip wget openssh-server inetutils-ping inetutils-telnet;\
dpkg -i /tmp/libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb;\ dpkg -i /tmp/libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb;\
echo "PermitRootLogin yes\nPasswordAuthentication yes\n" >> /etc/ssh/sshd_config;\ echo "PermitRootLogin yes\nPasswordAuthentication yes\n" >> /etc/ssh/sshd_config;\
echo root:123456 |chpasswd echo root:123456 |chpasswd