You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by GitBox <gi...@apache.org> on 2019/09/25 15:07:50 UTC

[GitHub] [unomi] sergehuber commented on a change in pull request #98: Bug fixing dockerize unomi and update unomi to v1.4.0

sergehuber commented on a change in pull request #98: Bug fixing dockerize unomi and update unomi to v1.4.0
URL: https://github.com/apache/unomi/pull/98#discussion_r328179492
 
 

 ##########
 File path: docker/Dockerfile
 ##########
 @@ -18,20 +18,30 @@
 FROM openjdk:8-jre
 
 # Unomi environment variables
-ENV KARAF_INSTALL_PATH /opt
-ENV KARAF_HOME $KARAF_INSTALL_PATH/apache-unomi
-ENV PATH $PATH:$KARAF_HOME/bin
+ENV UNOMI_HOME /opt/apache-unomi
+ENV PATH $PATH:$UNOMI_HOME/bin
+
 ENV KARAF_OPTS "-Dunomi.autoStart=true"
-WORKDIR $KARAF_HOME
 
-RUN wget http://apache.mirrors.pair.com/incubator/unomi/1.3.0-incubating/unomi-1.3.0-incubating-bin.tar.gz
-RUN tar -xzf unomi-1.3.0-incubating-bin.tar.gz
-RUN mv unomi-1.3.0-incubating/* .
-RUN rm unomi-1.3.0-incubating-bin.tar.gz
-RUN rm -r unomi-1.3.0-incubating
+ENV ELASTICSEARCH_HOST localhost
+ENV ELASTICSEARCH_PORT 9300
+
+ENV UNOMI_VERION "1.4.0"
 
 Review comment:
   I just noticed there's a small typo in VERION. Should be VERSION. Can you correct that ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services