Parcourir la source

dockerfile 调整偏码

td_orm
H Vs il y a 1 an
Parent
révision
e202620695
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. +5
    -5
      HealthMonitor.WebApi/Dockerfile

+ 5
- 5
HealthMonitor.WebApi/Dockerfile Voir le fichier

@@ -12,20 +12,20 @@ RUN apt-get update --fix-missing\
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && 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 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 WORKDIR /tmp


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


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


Chargement…
Annuler
Enregistrer