commit bf0e81b967fabec1e21e1fcdf120ef19e7041002 Author: liu.chunxun Date: Mon Jun 24 14:43:56 2024 +0800 发布 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3e06f76 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +prog/* diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8c47106 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +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 + +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;\ + echo "PermitRootLogin yes\nPasswordAuthentication yes\n" >> /etc/ssh/sshd_config;\ + echo root:123456 |chpasswd + +COPY prog /home/ + +WORKDIR /home + +CMD ["/home/start.sh"] + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..00075f4 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# 华为Edge软采基础镜像 +包含dotnet 3.1 运行时,i386 架构支持, + +### 替换程序 +将真实驱动解压到 prog路径下,删掉 virdrv ,修改dLoad.json ,注意需要额外增加一个指定日志路径的参数 “-logdir,log” + +### 编译 +`docker build -t gitiot.mgm-iot.com/iot_images/xxx:vx.x.x .` + +### 发布 +在edge 发布版本时注意修改卷映射,将容器目录修改为: /var/IoTEdge/config +![alt text](image.png) + diff --git a/dotnet-runtime-3.1.32-linux-x64.tar.gz b/dotnet-runtime-3.1.32-linux-x64.tar.gz new file mode 100644 index 0000000..4faffab Binary files /dev/null and b/dotnet-runtime-3.1.32-linux-x64.tar.gz differ diff --git a/image.png b/image.png new file mode 100644 index 0000000..b992f1a Binary files /dev/null and b/image.png differ diff --git a/libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb b/libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb new file mode 100644 index 0000000..6509c02 Binary files /dev/null and b/libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb differ