You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2021/01/10 16:20:21 UTC
[iotdb] 01/01: add docker file for 0.11.1 and 0.11.2; fix invalid urls in preivous d…
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch fix_docker_file_master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 567b5880f4ca97064c0614a607abd362ddc4371a
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Mon Jan 11 00:15:32 2021 +0800
add docker file for 0.11.1 and 0.11.2; fix invalid urls in preivous d…
---
docker/src/main/Dockerfile-0.10.0 | 4 +---
docker/src/main/Dockerfile-0.10.1 | 4 +---
docker/src/main/Dockerfile-0.11.0 | 4 +---
docker/src/main/{Dockerfile-0.11.0 => Dockerfile-0.11.1} | 10 ++++------
docker/src/main/{Dockerfile-0.11.0 => Dockerfile-0.11.2} | 10 +++++-----
5 files changed, 12 insertions(+), 20 deletions(-)
diff --git a/docker/src/main/Dockerfile-0.10.0 b/docker/src/main/Dockerfile-0.10.0
index 463e9dc..7204a7a 100644
--- a/docker/src/main/Dockerfile-0.10.0
+++ b/docker/src/main/Dockerfile-0.10.0
@@ -21,9 +21,7 @@ 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/incubator/iotdb/0.10.0-incubating/apache-iotdb-0.10.0-incubating-bin.zip \
- # if you are in China, use the following URL
- #&& wget http://mirrors.tuna.tsinghua.edu.cn/apache/incubator/iotdb/0.10.0-incubating/apache-iotdb-0.10.0-incubating-bin.zip \
+ && 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 \
diff --git a/docker/src/main/Dockerfile-0.10.1 b/docker/src/main/Dockerfile-0.10.1
index 1cb5df5..05dacd9 100644
--- a/docker/src/main/Dockerfile-0.10.1
+++ b/docker/src/main/Dockerfile-0.10.1
@@ -21,9 +21,7 @@ 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/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip \
- # if you are in China, use the following URL
- #&& wget http://mirrors.tuna.tsinghua.edu.cn/apache/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip \
+ && wget https://archive.apache.org/dist/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip \
&& unzip apache-iotdb-0.10.1-incubating-bin.zip \
&& rm apache-iotdb-0.10.1-incubating-bin.zip \
&& mv apache-iotdb-0.10.1-incubating /iotdb \
diff --git a/docker/src/main/Dockerfile-0.11.0 b/docker/src/main/Dockerfile-0.11.0
index 78b0e99..eb5426f 100644
--- a/docker/src/main/Dockerfile-0.11.0
+++ b/docker/src/main/Dockerfile-0.11.0
@@ -21,9 +21,7 @@ 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 \
+ && 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 \
diff --git a/docker/src/main/Dockerfile-0.11.0 b/docker/src/main/Dockerfile-0.11.1
similarity index 77%
copy from docker/src/main/Dockerfile-0.11.0
copy to docker/src/main/Dockerfile-0.11.1
index 78b0e99..38a65c4 100644
--- a/docker/src/main/Dockerfile-0.11.0
+++ b/docker/src/main/Dockerfile-0.11.1
@@ -21,12 +21,10 @@ 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 \
+ && 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 \
diff --git a/docker/src/main/Dockerfile-0.11.0 b/docker/src/main/Dockerfile-0.11.2
similarity index 84%
copy from docker/src/main/Dockerfile-0.11.0
copy to docker/src/main/Dockerfile-0.11.2
index 78b0e99..7539e06 100644
--- a/docker/src/main/Dockerfile-0.11.0
+++ b/docker/src/main/Dockerfile-0.11.2
@@ -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.11.0/apache-iotdb-0.11.0-bin.zip \
+ && 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.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 \
+ #&& 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 \