You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2020/11/03 17:12:06 UTC

[iotdb] branch add_docker_0.11 created (now 0378d54)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a change to branch add_docker_0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at 0378d54  add docker file for 0.11

This branch includes the following new commits:

     new 0378d54  add docker file for 0.11

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: add docker file for 0.11

Posted by qi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch add_docker_0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 0378d544b261163a0130cdc144481ebf81512447
Author: qiaojialin <64...@qq.com>
AuthorDate: Wed Nov 4 01:11:41 2020 +0800

    add docker file for 0.11
---
 docker/src/main/Dockerfile-0.11.0 | 41 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/docker/src/main/Dockerfile-0.11.0 b/docker/src/main/Dockerfile-0.11.0
new file mode 100644
index 0000000..78b0e99
--- /dev/null
+++ b/docker/src/main/Dockerfile-0.11.0
@@ -0,0 +1,41 @@
+#
+# 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.0/apache-iotdb-0.11.0-bin.zip \
+  # if you are in China, use the following URL
+  #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/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"]