[
https://issues.apache.org/jira/browse/RANGER-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Don Bosco Durai updated RANGER-1137:
------------------------------------
Attachment: build_ranger_using_docker.sh
#This script creates the Docker image (if not already created) and runs maven
in the container
#1. Install Docker
#2. Checkout Ranger source and go to the root directory
#3. Run this script. If host is linux, then run this script as "sudo $0 ..."
#4. If you are running on Mac, then you don't need to use "sudo"
#5. To delete the image, run "[sudo] docker rmi ranger_dev"
#Usage: [sudo] ./build_ranger_using_docker.sh [-build_image] mvn <build params>
#Example 1: sudo ./build_ranger_using_docker.sh mvn clean install
-DskipTests=true
#Example 2: sudo ./build_ranger_using_docker.sh mvn -build_image clean install
-DskipTests=true (rebuilds the image)
#Notes: To remove build image manually, run "docker rmi ranger_dev" or "sudo
docker rmi ranger_dev"
> Script to compile Apache Ranger using Docker
> --------------------------------------------
>
> Key: RANGER-1137
> URL: https://issues.apache.org/jira/browse/RANGER-1137
> Project: Ranger
> Issue Type: Bug
> Reporter: Don Bosco Durai
> Assignee: Don Bosco Durai
> Attachments: build_ranger_using_docker.sh
>
>
> By [~aneela] from @user mailing list...
> {quote}
> Hi,
> I am trying to compile ranger 0.6 release but facing following issue.
> fatal error: security/pam_appl.h: No such file or directory
> #include <security/pam_appl.h>
> Please help me how to solve this issue?
> Thanks
> {quote}
> It might be good to use Docker to compile Apache Ranger and avoid host
> environment specific issues
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)