支持上线UCloud 管理
This commit is contained in:
+6
-3
@@ -2,10 +2,13 @@ FROM dockerproxy.com/library/ubuntu:22.04
|
||||
ADD dotnet-runtime-3.1.32-linux-x64.tar.gz /root/dotnet
|
||||
COPY libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb /tmp
|
||||
COPY nats-server /usr/bin/
|
||||
COPY service_manage /yuzhen_iot/service_manage/
|
||||
COPY checksum /usr/bin/
|
||||
COPY yuzhen_iot /yuzhen_iot/
|
||||
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;\
|
||||
dpkg -i /tmp/libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb
|
||||
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;\
|
||||
dpkg -i /tmp/libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb;\
|
||||
echo "PermitRootLogin yes\nPasswordAuthentication yes\n" >> /etc/ssh/sshd_config;\
|
||||
echo root:123456 |chpasswd
|
||||
|
||||
WORKDIR /home
|
||||
|
||||
|
||||
Reference in New Issue
Block a user