first commit
This commit is contained in:
commit
e7e60bcdba
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.tmp
|
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
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 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
|
||||
|
||||
WORKDIR /home
|
||||
|
||||
CMD ["/home/start.sh"]
|
||||
|
||||
|
11
README.md
Normal file
11
README.md
Normal file
@ -0,0 +1,11 @@
|
||||
# 软采基础镜像
|
||||
包含dotnet 3.1 运行时,i386 架构支持,nats-server,运行管理
|
||||
|
||||
### 编译
|
||||
`docker build -t yuzhen_base:v1.0.2 .`
|
||||
|
||||
|
||||
### docker 运行命令
|
||||
`docker run -v /home/yuzhen/fanucDocker/drvCfg:/yuzhen_iot/service_manage/equipment_manage/Drv/cfg -v /home/yuzhen/fanucDocker/log:/yuzhen_iot/service_manage/ftp/log_storage gitiot.mgm-iot.com/iot/yuzhen_fanuc:v0.0.1`
|
||||
|
||||
-v 挂在配置文件路径和日志路径
|
BIN
dotnet-runtime-3.1.32-linux-x64.tar.gz
Normal file
BIN
dotnet-runtime-3.1.32-linux-x64.tar.gz
Normal file
Binary file not shown.
BIN
libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb
Normal file
BIN
libssl1.0.0_1.0.2g-1ubuntu4.20_amd64.deb
Normal file
Binary file not shown.
BIN
nats-server
Executable file
BIN
nats-server
Executable file
Binary file not shown.
0
service_manage/ftp/log_storage/log
Normal file
0
service_manage/ftp/log_storage/log
Normal file
BIN
service_manage/manage/app/scheduler
Executable file
BIN
service_manage/manage/app/scheduler
Executable file
Binary file not shown.
14
service_manage/manage/cfg/List_Sub.json
Normal file
14
service_manage/manage/cfg/List_Sub.json
Normal file
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"type": 0,
|
||||
"equip_ID": "App",
|
||||
"driver": "/yuzhen_iot/service_manage/traffic_manage/App/v1.0.0",
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"equip_ID": "Drv",
|
||||
"driver": "/yuzhen_iot/service_manage/driver_manage/Drv/v1.0.0",
|
||||
"state": 0
|
||||
}
|
||||
]
|
7
service_manage/manage/cfg/Route.json
Normal file
7
service_manage/manage/cfg/Route.json
Normal file
@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"id": "route1",
|
||||
"source": "App",
|
||||
"objective": "Drv"
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user