瀏覽代碼

dockerfile 调整偏码

td_orm
H Vs 1 年之前
父節點
當前提交
e202620695
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. +5
    -5
      HealthMonitor.WebApi/Dockerfile

+ 5
- 5
HealthMonitor.WebApi/Dockerfile 查看文件

@@ -12,20 +12,20 @@ RUN apt-get update --fix-missing\
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# 安装 TDengine 客户端
# 瀹夎� TDengine 瀹㈡埛绔�
RUN curl -o /tmp/TDengine-client-3.0.4.2-Linux-x64.tar.gz https://www.taosdata.com/assets-download/3.0/TDengine-client-3.0.4.2-Linux-x64.tar.gz

WORKDIR /tmp

# 解压
# 瑙e帇
RUN tar xvf TDengine-client-3.0.4.2-Linux-x64.tar.gz
RUN ls
# 切换文件夹
# 鍒囨崲鏂囦欢澶�
WORKDIR /tmp/TDengine-client-3.0.4.2
RUN ls
# 执行安装脚本
# 鎵ц�瀹夎�鑴氭湰
RUN bash install_client.sh
# 设置 TDengine 服务器的 End Point
# 璁剧疆 TDengine 鏈嶅姟鍣ㄧ殑 End Point
RUN echo "firstEp 47.116.142.20:6030" >> /etc/taos/taos.cfg

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build


Loading…
取消
儲存