Skip to content

Commit b205d14

Browse files
committed
支持最新2.2.0.0 版本
1 parent 7dc2db3 commit b205d14

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
- taos-network
1515

1616
taos:
17-
image: tdengine/tdengine-amd64:2.1.1.0
17+
image: tdengine/tdengine-amd64:2.2.0.0
1818
restart: always
1919
container_name: taos
2020
hostname: taos

src/Example/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ RUN echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib n
99
echo "deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free" >> /etc/apt/sources.list && \
1010
apt-get -y -q update && apt-get install -y -q apt-utils libgdiplus libc6-dev lsof net-tools wget curl iputils-ping inetutils-tools && \
1111
apt-get autoremove -y && apt-get clean && apt-get autoclean && rm /var/cache/apt/* -rf && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
12-
RUN curl -o TDengine-client.tar.gz "https://www.taosdata.com/download/download-gettingStarted.php?pkg=tdengine_linux&pkgName=TDengine-client-2.1.1.0-Linux-x64.tar.gz" && \
13-
tar -xzvf TDengine-client.tar.gz && rm TDengine-client.tar.gz -f && cd $(ls TDengine-client* -d) && ./install_client.sh && \
12+
RUN curl -o TDengine-client.tar.gz "https://www.taosdata.com/assets-download/TDengine-client-2.2.0.0-Linux-x64.tar.gz" && \
13+
tar -xvf TDengine-client.tar.gz && rm TDengine-client.tar.gz -f && cd $(ls TDengine-client* -d) && \
14+
./install_client.sh && \
1415
rm $(pwd) -rf
1516
WORKDIR /app
1617

0 commit comments

Comments
 (0)