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 2021/01/13 01:25:34 UTC
[iotdb] branch rel/0.11 updated: add docker file for 0.11.1 and
0.11.2; fix invalid urls in preivous dockerfiles (#2466)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.11 by this push:
new 6724e43 add docker file for 0.11.1 and 0.11.2; fix invalid urls in preivous dockerfiles (#2466)
6724e43 is described below
commit 6724e43331c3a33445e6fbd6c8be821223fad0e3
Author: Xiangdong Huang <hx...@apache.org>
AuthorDate: Wed Jan 13 09:25:04 2021 +0800
add docker file for 0.11.1 and 0.11.2; fix invalid urls in preivous dockerfiles (#2466)
Co-authored-by: xiangdong huang <sa...@gmail.com>
---
docker/src/main/Dockerfile-0.10.0 | 4 +---
docker/src/main/Dockerfile-0.10.1 | 4 +---
docker/src/main/Dockerfile-0.11.0 | 10 ++++------
docker/src/main/{Dockerfile-0.11.0 => Dockerfile-0.11.1} | 4 +---
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 d2c0ebe..eb5426f 100644
--- a/docker/src/main/Dockerfile-0.11.0
+++ b/docker/src/main/Dockerfile-0.11.0
@@ -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.1/apache-iotdb-0.11.1-bin.zip \
- # if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/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 \
+ && 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 \
diff --git a/docker/src/main/Dockerfile-0.11.0 b/docker/src/main/Dockerfile-0.11.1
similarity index 85%
copy from docker/src/main/Dockerfile-0.11.0
copy to docker/src/main/Dockerfile-0.11.1
index d2c0ebe..38a65c4 100644
--- a/docker/src/main/Dockerfile-0.11.0
+++ b/docker/src/main/Dockerfile-0.11.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://downloads.apache.org/iotdb/0.11.1/apache-iotdb-0.11.1-bin.zip \
- # if you are in China, use the following URL
- #&& wget https://mirrors.tuna.tsinghua.edu.cn/apache/iotdb/0.11.1/apache-iotdb-0.11.1-bin.zip \
+ && 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 \
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 d2c0ebe..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.1/apache-iotdb-0.11.1-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.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 \
+ #&& 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 \