Github user eschizoid commented on a diff in the pull request:

    https://github.com/apache/hawq/pull/1396#discussion_r220946389
  
    --- Diff: contrib/hawq-docker/Makefile ---
    @@ -51,7 +65,10 @@ build-hawq-dev-$(OS_VERSION): 
$(TOP_DIR)/$(OS_VERSION)-docker/hawq-dev/Dockerfil
     
     build-hawq-test-$(OS_VERSION): 
$(TOP_DIR)/$(OS_VERSION)-docker/hawq-test/Dockerfile
        @echo build hawq-test:$(OS_VERSION) image
    -   docker build -t hawq/hawq-test:$(OS_VERSION) 
$(TOP_DIR)/$(OS_VERSION)-docker/hawq-test/
    +   docker build \
    +           --build-arg=PXF_CLASSPATH_TEMPLATE="`cat 
../../pxf/pxf-service/src/configs/templates/pxf-private-${PXF_CLASSPATH_TEMPLATE}.classpath.template`"
 \
    --- End diff --
    
    This might look like a hack, but I found it easy when loading files from a 
different docker build context. Happy to change if there is a better way of 
doing this.


---

Reply via email to