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/26 13:04:39 UTC

[incubator-iotdb] 01/01: use latest binary file to build the docker image

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

hxd pushed a commit to branch 0.8-docker-correct-binary
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit df090f9183211d668a859b1bff9968f28bb34b66
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Fri Jul 26 21:04:19 2019 +0800

    use latest binary file to build the docker image
---
 docker/Dockerfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index b3cf982..f3acbea 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -29,11 +29,11 @@ RUN apt update \
   && unzip 0.8.zip \
   && rm 0.8.zip \
   && cd incubator-iotdb-rel-0.8 \
-  && mvn package -pl server,client -am -DskipTests -Dthrift.download-url="http://www.apache.org/licenses/LICENSE-2.0.txt" -Dthrift.exec.absolute.path="/usr/bin/thrift" \
-  && cd build/target/ \
-  && tar -xzf build-0.8.0-SNAPSHOT-release.tar.gz \
+  && 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 \
   && mkdir /iotdb \
-  && mv build-0.8.0-SNAPSHOT/* /iotdb/ \
+  && mv apache-iotdb-0.8.0-SNAPSHOT-incubating/* /iotdb/ \
   && cd ../../ \
   && mvn clean \
   && ls -lh ~/.m2 \