You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/10/24 05:38:23 UTC
[iotdb] branch master updated: Integrate dockerfile from rel/0.12, rel/0.13 (#7701)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 083b241b84 Integrate dockerfile from rel/0.12, rel/0.13 (#7701)
083b241b84 is described below
commit 083b241b842b00122f5b97bbe6f3706d8befe947
Author: 张正明 <87...@qq.com>
AuthorDate: Mon Oct 24 13:38:17 2022 +0800
Integrate dockerfile from rel/0.12, rel/0.13 (#7701)
---
docker/src/main/Dockerfile-0.10.0 | 39 ----------------
docker/src/main/Dockerfile-0.11.0 | 39 ----------------
docker/src/main/Dockerfile-0.11.1 | 39 ----------------
docker/src/main/Dockerfile-0.11.2 | 41 -----------------
docker/src/main/Dockerfile-0.11.3 | 41 -----------------
docker/src/main/Dockerfile-0.12.2-cluster | 53 ----------------------
...le-0.12.1-cluster => Dockerfile-0.12.6-cluster} | 10 ++--
...le-0.12.2-grafana => Dockerfile-0.12.6-grafana} | 10 ++--
...ckerfile-0.12.2-node => Dockerfile-0.12.6-node} | 10 ++--
...le-0.12.0-cluster => Dockerfile-0.13.0-cluster} | 10 ++--
...grafana => Dockerfile-0.13.3-grafana-connector} | 20 ++++----
...ckerfile-0.12.0-node => Dockerfile-0.13.3-node} | 10 ++--
...-node => Dockerfile-0.13.3-node-multi-platform} | 12 ++---
docker/src/main/Dockerfile-0.9.0 | 41 -----------------
14 files changed, 41 insertions(+), 334 deletions(-)
diff --git a/docker/src/main/Dockerfile-0.10.0 b/docker/src/main/Dockerfile-0.10.0
deleted file mode 100644
index 7204a7aab9..0000000000
--- a/docker/src/main/Dockerfile-0.10.0
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-FROM openjdk:11-jre-slim
-RUN apt update \
- # procps is for `free` command
- && apt install wget unzip lsof procps -y \
- && wget https://archive.apache.org/dist/iotdb/0.10.0-incubating/apache-iotdb-0.10.0-incubating-bin.zip \
- && unzip apache-iotdb-0.10.0-incubating-bin.zip \
- && rm apache-iotdb-0.10.0-incubating-bin.zip \
- && mv apache-iotdb-0.10.0-incubating /iotdb \
- && apt remove wget unzip -y \
- && apt autoremove -y \
- && apt purge --auto-remove -y \
- && apt clean -y
-EXPOSE 6667
-EXPOSE 31999
-EXPOSE 5555
-EXPOSE 8181
-VOLUME /iotdb/data
-VOLUME /iotdb/logs
-ENV PATH="/iotdb/sbin/:/iotdb/tools/:${PATH}"
-ENTRYPOINT ["/iotdb/sbin/start-server.sh"]
diff --git a/docker/src/main/Dockerfile-0.11.0 b/docker/src/main/Dockerfile-0.11.0
deleted file mode 100644
index eb5426fe9c..0000000000
--- a/docker/src/main/Dockerfile-0.11.0
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-FROM openjdk:11-jre-slim
-RUN apt update \
- # procps is for `free` command
- && apt install wget unzip lsof procps -y \
- && wget https://archive.apache.org/dist/iotdb/0.11.0/apache-iotdb-0.11.0-bin.zip \
- && unzip apache-iotdb-0.11.0-bin.zip \
- && rm apache-iotdb-0.11.0-bin.zip \
- && mv apache-iotdb-0.11.0 /iotdb \
- && apt remove wget unzip -y \
- && apt autoremove -y \
- && apt purge --auto-remove -y \
- && apt clean -y
-EXPOSE 6667
-EXPOSE 31999
-EXPOSE 5555
-EXPOSE 8181
-VOLUME /iotdb/data
-VOLUME /iotdb/logs
-ENV PATH="/iotdb/sbin/:/iotdb/tools/:${PATH}"
-ENTRYPOINT ["/iotdb/sbin/start-server.sh"]
diff --git a/docker/src/main/Dockerfile-0.11.1 b/docker/src/main/Dockerfile-0.11.1
deleted file mode 100644
index 38a65c46e7..0000000000
--- a/docker/src/main/Dockerfile-0.11.1
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-FROM openjdk:11-jre-slim
-RUN apt update \
- # procps is for `free` command
- && apt install wget unzip lsof procps -y \
- && wget https://archive.apache.org/dist/iotdb/0.11.1/apache-iotdb-0.11.1-bin.zip \
- && unzip apache-iotdb-0.11.1-bin.zip \
- && rm apache-iotdb-0.11.1-bin.zip \
- && mv apache-iotdb-0.11.1 /iotdb \
- && apt remove wget unzip -y \
- && apt autoremove -y \
- && apt purge --auto-remove -y \
- && apt clean -y
-EXPOSE 6667
-EXPOSE 31999
-EXPOSE 5555
-EXPOSE 8181
-VOLUME /iotdb/data
-VOLUME /iotdb/logs
-ENV PATH="/iotdb/sbin/:/iotdb/tools/:${PATH}"
-ENTRYPOINT ["/iotdb/sbin/start-server.sh"]
diff --git a/docker/src/main/Dockerfile-0.11.2 b/docker/src/main/Dockerfile-0.11.2
deleted file mode 100644
index 7539e064a7..0000000000
--- a/docker/src/main/Dockerfile-0.11.2
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-FROM openjdk:11-jre-slim
-RUN apt update \
- # procps is for `free` command
- && apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.11.2/apache-iotdb-0.11.2-bin.zip \
- # if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.11.2/apache-iotdb-0.11.2-bin.zip \
- && unzip apache-iotdb-0.11.2-bin.zip \
- && rm apache-iotdb-0.11.2-bin.zip \
- && mv apache-iotdb-0.11.2 /iotdb \
- && apt remove wget unzip -y \
- && apt autoremove -y \
- && apt purge --auto-remove -y \
- && apt clean -y
-EXPOSE 6667
-EXPOSE 31999
-EXPOSE 5555
-EXPOSE 8181
-VOLUME /iotdb/data
-VOLUME /iotdb/logs
-ENV PATH="/iotdb/sbin/:/iotdb/tools/:${PATH}"
-ENTRYPOINT ["/iotdb/sbin/start-server.sh"]
diff --git a/docker/src/main/Dockerfile-0.11.3 b/docker/src/main/Dockerfile-0.11.3
deleted file mode 100644
index 0de4faa60a..0000000000
--- a/docker/src/main/Dockerfile-0.11.3
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-FROM openjdk:11-jre-slim
-RUN apt update \
- # procps is for `free` command
- && apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.11.3/apache-iotdb-0.11.3-bin.zip \
- # if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.11.3/apache-iotdb-0.11.3-bin.zip \
- && unzip apache-iotdb-0.11.3-bin.zip \
- && rm apache-iotdb-0.11.3-bin.zip \
- && mv apache-iotdb-0.11.3 /iotdb \
- && apt remove wget unzip -y \
- && apt autoremove -y \
- && apt purge --auto-remove -y \
- && apt clean -y
-EXPOSE 6667
-EXPOSE 31999
-EXPOSE 5555
-EXPOSE 8181
-VOLUME /iotdb/data
-VOLUME /iotdb/logs
-ENV PATH="/iotdb/sbin/:/iotdb/tools/:${PATH}"
-ENTRYPOINT ["/iotdb/sbin/start-server.sh"]
diff --git a/docker/src/main/Dockerfile-0.12.2-cluster b/docker/src/main/Dockerfile-0.12.2-cluster
deleted file mode 100644
index eaf0f5f4b0..0000000000
--- a/docker/src/main/Dockerfile-0.12.2-cluster
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-FROM openjdk:11-jre-slim
-RUN apt update \
- # procps is for `free` command
- && apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.12.2/apache-iotdb-0.12.2-cluster-bin.zip \
- # if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.2/apache-iotdb-0.12.2-cluster-bin.zip \
- && unzip apache-iotdb-0.12.2-cluster-bin.zip \
- && rm apache-iotdb-0.12.2-cluster-bin.zip \
- && mv apache-iotdb-0.12.2-cluster-bin /iotdb \
- && apt remove wget unzip -y \
- && apt autoremove -y \
- && apt purge --auto-remove -y \
- && apt clean -y \
- # modify the seeds in configuration file
- && sed -i '/^seed_nodes/cseed_nodes=127.0.0.1:9003' /iotdb/conf/iotdb-cluster.properties \
- && sed -i '/^default_replica_num/cdefault_replica_num=1' /iotdb/conf/iotdb-cluster.properties
-
-# rpc port
-EXPOSE 6667
-# JMX port
-EXPOSE 31999
-# sync port
-EXPOSE 5555
-# monitor port
-EXPOSE 8181
-# internal meta port
-EXPOSE 9003
-# internal data port
-EXPOSE 40010
-VOLUME /iotdb/data
-VOLUME /iotdb/logs
-ENV PATH="/iotdb/sbin/:/iotdb/tools/:${PATH}"
-ENTRYPOINT ["/iotdb/sbin/start-node.sh"]
diff --git a/docker/src/main/Dockerfile-0.12.1-cluster b/docker/src/main/Dockerfile-0.12.6-cluster
similarity index 85%
rename from docker/src/main/Dockerfile-0.12.1-cluster
rename to docker/src/main/Dockerfile-0.12.6-cluster
index 04a2c0f448..b7975dee43 100644
--- a/docker/src/main/Dockerfile-0.12.1-cluster
+++ b/docker/src/main/Dockerfile-0.12.6-cluster
@@ -21,12 +21,12 @@ FROM openjdk:11-jre-slim
RUN apt update \
# procps is for `free` command
&& apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.12.1/apache-iotdb-0.12.1-cluster-bin.zip \
+ && wget https://downloads.apache.org/iotdb/0.12.6/apache-iotdb-0.12.6-cluster-bin.zip \
# if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.1/apache-iotdb-0.12.1-cluster-bin.zip \
- && unzip apache-iotdb-0.12.1-cluster-bin.zip \
- && rm apache-iotdb-0.12.1-cluster-bin.zip \
- && mv apache-iotdb-0.12.1-cluster-bin /iotdb \
+ #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.6/apache-iotdb-0.12.6-cluster-bin.zip \
+ && unzip apache-iotdb-0.12.6-cluster-bin.zip \
+ && rm apache-iotdb-0.12.6-cluster-bin.zip \
+ && mv apache-iotdb-0.12.6-cluster-bin /iotdb \
&& apt remove wget unzip -y \
&& apt autoremove -y \
&& apt purge --auto-remove -y \
diff --git a/docker/src/main/Dockerfile-0.12.2-grafana b/docker/src/main/Dockerfile-0.12.6-grafana
similarity index 83%
copy from docker/src/main/Dockerfile-0.12.2-grafana
copy to docker/src/main/Dockerfile-0.12.6-grafana
index 45c49cf86a..8140673b16 100644
--- a/docker/src/main/Dockerfile-0.12.2-grafana
+++ b/docker/src/main/Dockerfile-0.12.6-grafana
@@ -21,12 +21,12 @@ FROM openjdk:11-jre-slim
RUN apt update \
# procps is for `free` command
&& apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.12.2/apache-iotdb-0.12.2-grafana-bin.zip \
+ && wget https://downloads.apache.org/iotdb/0.12.6/apache-iotdb-0.12.6-grafana-bin.zip \
# if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.2/apache-iotdb-0.12.2-grafana-bin.zip \
- && unzip apache-iotdb-0.12.2-grafana-bin.zip \
- && rm apache-iotdb-0.12.2-grafana-bin.zip \
- && mv apache-iotdb-0.12.2-grafana-bin /iotdb-grafana \
+ #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.6/apache-iotdb-0.12.6-grafana-bin.zip \
+ && unzip apache-iotdb-0.12.6-grafana-bin.zip \
+ && rm apache-iotdb-0.12.6-grafana-bin.zip \
+ && mv apache-iotdb-0.12.6-grafana-bin /iotdb-grafana \
&& apt remove wget unzip -y \
&& apt autoremove -y \
&& apt purge --auto-remove -y \
diff --git a/docker/src/main/Dockerfile-0.12.2-node b/docker/src/main/Dockerfile-0.12.6-node
similarity index 83%
rename from docker/src/main/Dockerfile-0.12.2-node
rename to docker/src/main/Dockerfile-0.12.6-node
index faac637e53..eaf3e01a91 100644
--- a/docker/src/main/Dockerfile-0.12.2-node
+++ b/docker/src/main/Dockerfile-0.12.6-node
@@ -21,12 +21,12 @@ FROM openjdk:11-jre-slim
RUN apt update \
# procps is for `free` command
&& apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.12.2/apache-iotdb-0.12.2-server-bin.zip \
+ && wget https://downloads.apache.org/iotdb/0.12.6/apache-iotdb-0.12.6-server-bin.zip \
# if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.2/apache-iotdb-0.12.2-server-bin.zip \
- && unzip apache-iotdb-0.12.2-server-bin.zip \
- && rm apache-iotdb-0.12.2-server-bin.zip \
- && mv apache-iotdb-0.12.2-server-bin /iotdb \
+ #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.6/apache-iotdb-0.12.6-server-bin.zip \
+ && unzip apache-iotdb-0.12.6-server-bin.zip \
+ && rm apache-iotdb-0.12.6-server-bin.zip \
+ && mv apache-iotdb-0.12.6-server-bin /iotdb \
&& apt remove wget unzip -y \
&& apt autoremove -y \
&& apt purge --auto-remove -y \
diff --git a/docker/src/main/Dockerfile-0.12.0-cluster b/docker/src/main/Dockerfile-0.13.0-cluster
similarity index 85%
rename from docker/src/main/Dockerfile-0.12.0-cluster
rename to docker/src/main/Dockerfile-0.13.0-cluster
index a201d6e3f4..15600260f8 100644
--- a/docker/src/main/Dockerfile-0.12.0-cluster
+++ b/docker/src/main/Dockerfile-0.13.0-cluster
@@ -21,12 +21,12 @@ FROM openjdk:11-jre-slim
RUN apt update \
# procps is for `free` command
&& apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.12.0/apache-iotdb-0.12.0-cluster-bin.zip \
+ && wget https://downloads.apache.org/iotdb/0.13.0/apache-iotdb-0.13.0-cluster-bin.zip \
# if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.0/apache-iotdb-0.12.0-cluster-bin.zip \
- && unzip apache-iotdb-0.12.0-cluster-bin.zip \
- && rm apache-iotdb-0.12.0-cluster-bin.zip \
- && mv apache-iotdb-0.12.0-cluster-bin /iotdb \
+ #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.13.0/apache-iotdb-0.13.0-cluster-bin.zip \
+ && unzip apache-iotdb-0.13.0-cluster-bin.zip \
+ && rm apache-iotdb-0.13.0-cluster-bin.zip \
+ && mv apache-iotdb-0.13.0-cluster-bin /iotdb \
&& apt remove wget unzip -y \
&& apt autoremove -y \
&& apt purge --auto-remove -y \
diff --git a/docker/src/main/Dockerfile-0.12.2-grafana b/docker/src/main/Dockerfile-0.13.3-grafana-connector
similarity index 66%
rename from docker/src/main/Dockerfile-0.12.2-grafana
rename to docker/src/main/Dockerfile-0.13.3-grafana-connector
index 45c49cf86a..573b6ee0d6 100644
--- a/docker/src/main/Dockerfile-0.12.2-grafana
+++ b/docker/src/main/Dockerfile-0.13.3-grafana-connector
@@ -21,21 +21,21 @@ FROM openjdk:11-jre-slim
RUN apt update \
# procps is for `free` command
&& apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.12.2/apache-iotdb-0.12.2-grafana-bin.zip \
+ && wget https://downloads.apache.org/iotdb/0.13.3/apache-iotdb-0.13.3-grafana-connector-bin.zip \
# if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.2/apache-iotdb-0.12.2-grafana-bin.zip \
- && unzip apache-iotdb-0.12.2-grafana-bin.zip \
- && rm apache-iotdb-0.12.2-grafana-bin.zip \
- && mv apache-iotdb-0.12.2-grafana-bin /iotdb-grafana \
+ #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.13.3/apache-iotdb-0.13.3-grafana-connector-bin.zip \
+ && unzip apache-iotdb-0.13.3-grafana-connector-bin.zip \
+ && rm apache-iotdb-0.13.3-grafana-connector-bin.zip \
+ && mv apache-iotdb-0.13.3-grafana-connector-bin /iotdb-grafana-connector \
&& apt remove wget unzip -y \
&& apt autoremove -y \
&& apt purge --auto-remove -y \
&& apt clean -y
# rpc port
EXPOSE 8888
-VOLUME /iotdb-grafana/config
-RUN echo "#!/bin/bash" > /iotdb-grafana/runboot.sh
-RUN echo "java -Djava.security.egd=file:/dev/./urandom -jar /iotdb-grafana/iotdb-grafana.war" >> /iotdb-grafana/runboot.sh
-RUN chmod a+x /iotdb-grafana/runboot.sh
-WORKDIR /iotdb-grafana
+VOLUME /iotdb-grafana-connector/config
+RUN echo "#!/bin/bash" > /iotdb-grafana-connector/runboot.sh
+RUN echo "java -Djava.security.egd=file:/dev/./urandom -jar /iotdb-grafana-connector/iotdb-grafana-connector.war" >> /iotdb-grafana-connector/runboot.sh
+RUN chmod a+x /iotdb-grafana-connector/runboot.sh
+WORKDIR /iotdb-grafana-connector
ENTRYPOINT ["./runboot.sh"]
diff --git a/docker/src/main/Dockerfile-0.12.0-node b/docker/src/main/Dockerfile-0.13.3-node
similarity index 83%
rename from docker/src/main/Dockerfile-0.12.0-node
rename to docker/src/main/Dockerfile-0.13.3-node
index 7706f635cf..82573c412b 100644
--- a/docker/src/main/Dockerfile-0.12.0-node
+++ b/docker/src/main/Dockerfile-0.13.3-node
@@ -21,12 +21,12 @@ FROM openjdk:11-jre-slim
RUN apt update \
# procps is for `free` command
&& apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.12.0/apache-iotdb-0.12.0-server-bin.zip \
+ && wget https://downloads.apache.org/iotdb/0.13.3/apache-iotdb-0.13.3-server-bin.zip \
# if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.0/apache-iotdb-0.12.0-server-bin.zip \
- && unzip apache-iotdb-0.12.0-server-bin.zip \
- && rm apache-iotdb-0.12.0-server-bin.zip \
- && mv apache-iotdb-0.12.0-server-bin /iotdb \
+ #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.13.3/apache-iotdb-0.13.3-server-bin.zip \
+ && unzip apache-iotdb-0.13.3-server-bin.zip \
+ && rm apache-iotdb-0.13.3-server-bin.zip \
+ && mv apache-iotdb-0.13.3-server-bin /iotdb \
&& apt remove wget unzip -y \
&& apt autoremove -y \
&& apt purge --auto-remove -y \
diff --git a/docker/src/main/Dockerfile-0.12.1-node b/docker/src/main/Dockerfile-0.13.3-node-multi-platform
similarity index 80%
rename from docker/src/main/Dockerfile-0.12.1-node
rename to docker/src/main/Dockerfile-0.13.3-node-multi-platform
index 56017a4980..bdf0a57d4a 100644
--- a/docker/src/main/Dockerfile-0.12.1-node
+++ b/docker/src/main/Dockerfile-0.13.3-node-multi-platform
@@ -17,16 +17,16 @@
# under the License.
#
-FROM openjdk:11-jre-slim
+FROM --platform=$TARGETPLATFORM eclipse-temurin:11-jre-focal
RUN apt update \
# procps is for `free` command
&& apt install wget unzip lsof procps -y \
- && wget https://downloads.apache.org/iotdb/0.12.1/apache-iotdb-0.12.1-server-bin.zip \
+ && wget https://downloads.apache.org/iotdb/0.13.3/apache-iotdb-0.13.3-server-bin.zip \
# if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.12.1/apache-iotdb-0.12.1-server-bin.zip \
- && unzip apache-iotdb-0.12.1-server-bin.zip \
- && rm apache-iotdb-0.12.1-server-bin.zip \
- && mv apache-iotdb-0.12.1-server-bin /iotdb \
+ #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.13.3/apache-iotdb-0.13.3-server-bin.zip \
+ && unzip apache-iotdb-0.13.3-server-bin.zip \
+ && rm apache-iotdb-0.13.3-server-bin.zip \
+ && mv apache-iotdb-0.13.3-server-bin /iotdb \
&& apt remove wget unzip -y \
&& apt autoremove -y \
&& apt purge --auto-remove -y \
diff --git a/docker/src/main/Dockerfile-0.9.0 b/docker/src/main/Dockerfile-0.9.0
deleted file mode 100644
index 8a970eda8b..0000000000
--- a/docker/src/main/Dockerfile-0.9.0
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-FROM openjdk:11-jre-slim
-RUN apt update \
- # procps is for `free` command
- && apt install wget unzip lsof procps -y \
- && wget https://www-us.apache.org/dist/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-bin.zip \
- # if you are in China, use the following URL
- #&& wget http://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.9.0-incubating/apache-iotdb-0.9.0-incubating-bin.zip \
- && unzip apache-iotdb-0.9.0-incubating-bin.zip \
- && rm apache-iotdb-0.9.0-incubating-bin.zip \
- && mv apache-iotdb-0.9.0-incubating /iotdb \
- && apt remove wget unzip -y \
- && apt autoremove -y \
- && apt purge --auto-remove -y \
- && apt clean -y
-EXPOSE 6667
-EXPOSE 31999
-EXPOSE 5555
-EXPOSE 8181
-VOLUME /iotdb/data
-VOLUME /iotdb/logs
-ENV PATH="/iotdb/sbin/:/iotdb/tools/:${PATH}"
-ENTRYPOINT ["/iotdb/sbin/start-server.sh"]