You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemall.apache.org by my...@apache.org on 2017/04/28 09:30:26 UTC
[3/5] incubator-hivemall git commit: Fix build flow
Fix build flow
Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/commit/fcb74416
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/fcb74416
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/fcb74416
Branch: refs/heads/master
Commit: fcb74416742af875cc65ebd84ff4960be1c716ae
Parents: ede6c9d
Author: amaya <ma...@sapphire.in.net>
Authored: Fri Apr 28 03:12:04 2017 +0900
Committer: amaya <ma...@sapphire.in.net>
Committed: Fri Apr 28 03:12:04 2017 +0900
----------------------------------------------------------------------
resources/docker/Dockerfile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/fcb74416/resources/docker/Dockerfile
----------------------------------------------------------------------
diff --git a/resources/docker/Dockerfile b/resources/docker/Dockerfile
index 54b04dc..bac7d41 100644
--- a/resources/docker/Dockerfile
+++ b/resources/docker/Dockerfile
@@ -43,6 +43,11 @@ RUN set -eux && \
\
cd ${HIVEMALL_PATH} && \
HIVEMALL_VERSION=`cat VERSION` && \
+ \
+ (if ${PREBUILD}; then \
+ cd ${HIVEMALL_PATH} && bin/build.sh; \
+ fi) && \
+ \
mkdir -p /root/bin /root/hivemall && \
find ${HIVEMALL_PATH}/resources/docker/home/bin -mindepth 1 -maxdepth 1 \
-exec sh -c 'f={} && ln -s $f /root/bin/${f##*/}' \; && \
@@ -50,11 +55,6 @@ RUN set -eux && \
ln -s ${HIVEMALL_PATH}/resources/ddl/define-all.hive /root/hivemall/define-all.hive && \
ln -s ${HIVEMALL_PATH}/target/hivemall-core-${HIVEMALL_VERSION}-with-dependencies.jar \
/root/hivemall/hivemall-core-with-dependencies.jar && \
- \
- (if ${PREBUILD}; then \
- mvn package -Dmaven.test.skip=true -pl core; \
- fi) && \
- \
rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* /root/.m2/* /root/.npm/*
VOLUME ["/opt/hivemall/", "/root/data/"]