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:16:03 UTC
[iotdb] 01/01: add docker file for 0.11.1 and 0.11.2;
fix invalid urls in preivous dockerfiles
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch fix_docker_file_0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 8842a09797bafdfb15146f2874ad0e91ac049929
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 dockerfiles
---
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 \