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 2019/07/31 02:13:14 UTC
[incubator-iotdb] 02/02: change dockerfile to build from the master
branch
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit a3db25477d65e5d5d66bbe8d2d925fab20ad4e00
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Wed Jul 31 10:12:58 2019 +0800
change dockerfile to build from the master branch
---
docker/src/main/Dockerfile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/docker/src/main/Dockerfile b/docker/src/main/Dockerfile
index f3acbea..ec2efb8 100644
--- a/docker/src/main/Dockerfile
+++ b/docker/src/main/Dockerfile
@@ -25,20 +25,20 @@ RUN apt update \
&& rm -rf jdk11.tar.gz \
&& export JAVA_HOME=/jdk-11.0.2/ \
&& export PATH="$JAVA_HOME/bin:$PATH" \
- && wget https://github.com/apache/incubator-iotdb/archive/rel/0.8.zip \
- && unzip 0.8.zip \
- && rm 0.8.zip \
- && cd incubator-iotdb-rel-0.8 \
+ && wget https://github.com/apache/incubator-iotdb/archive/master.zip \
+ && unzip master.zip \
+ && rm master.zip \
+ && cd incubator-iotdb-master \
&& mvn package -pl server,client -am -Papache-release -DskipTests -Dthrift.download-url="http://www.apache.org/licenses/LICENSE-2.0.txt" -Dthrift.exec.absolute.path="/usr/bin/thrift" \
&& cd target/ \
- && unzip apache-iotdb-0.8.0-SNAPSHOT-incubating-bin.zip \
+ && unzip apache-iotdb-0.9.0-SNAPSHOT-incubating-bin.zip \
&& mkdir /iotdb \
- && mv apache-iotdb-0.8.0-SNAPSHOT-incubating/* /iotdb/ \
+ && mv apache-iotdb-0.9.0-SNAPSHOT-incubating/* /iotdb/ \
&& cd ../../ \
&& mvn clean \
&& ls -lh ~/.m2 \
&& rm -rf ~/.m2 \
- && rm -rf /incubator-iotdb-rel-0.8 \
+ && rm -rf /incubator-iotdb-master \
&& sed -i '119d' /iotdb/conf/logback.xml \
&& apt remove wget maven unzip thrift-compiler -y \
&& apt autoremove -y \