Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hienduyph/docker-apache-ranger
https://github.com/hienduyph/docker-apache-ranger
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hienduyph/docker-apache-ranger
- Owner: hienduyph
- Created: 2024-07-08T10:22:32.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-05T08:11:18.000Z (about 1 month ago)
- Last Synced: 2024-12-05T09:23:13.887Z (about 1 month ago)
- Language: Dockerfile
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apache Ranger
## Build ranger
Prepare `.env`
```
VERSION=3.0.0
REVISION=72f6c57
``````bash
export BUILD_USER=$(id -u) # this will make permission correctly
export M2_CACHE=$HOME/.m2 # speedup by using local m2 cache directory
export $(cat .env | xargs)
``````bash
docker compose up
# this will took hours to complete
```Scripts pull ranger source code into `./build-src/ranger` and target build is at `./build-src/ranger/target`
After built sucessfully, start build admin and usersync image```bash
docker build . --build-arg VERSION=${VERSION} --build-arg REVISION=${REVISION} -t ghcr.io/hienduyph/ranger-admin:${VERSION}-${REVISION} -f ./ranger-admin/Dockerfiledocker build . --build-arg VERSION=${VERSION} --build-arg REVISION=${REVISION} -t ghcr.io/hienduyph/ranger-usersync:${VERSION}-${REVISION} -f ./ranger-usersync/Dockerfile
```## Run samples
```bash
cd samples
docker compose up -d
```To to ranger at `http://127.0.0.1:6080`, User and pass is `admin/rangerR0cks!`
# Notices
- `4.0.0` to works with hive jdbc