Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apache/ozone-docker-runner
Container image to provide runtime environment for developing and testing Apache Ozone
https://github.com/apache/ozone-docker-runner
container ozone
Last synced: 3 months ago
JSON representation
Container image to provide runtime environment for developing and testing Apache Ozone
- Host: GitHub
- URL: https://github.com/apache/ozone-docker-runner
- Owner: apache
- License: apache-2.0
- Created: 2020-11-16T17:27:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T20:51:47.000Z (4 months ago)
- Last Synced: 2024-10-01T01:04:50.317Z (3 months ago)
- Topics: container, ozone
- Language: Dockerfile
- Homepage: https://ozone.apache.org
- Size: 42 KB
- Stars: 3
- Watchers: 34
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Apache Ozone **runner** base image
This is the base image to run Apache Hadoop Ozone in docker containers. This is only for test/develop and not for production.
The container doesn't include any Ozone specific jar files or release artifacts just an empty environment which includes all the specific tools to run and test Apache Ozone inside containers.
The image is available as [apache/ozone-runner](https://hub.docker.com/r/apache/ozone-runner). Build is managed by Docker Hub.
## Development
To build the image, please use:
```
DOCKER_BUILDKIT=1 docker build -t apache/ozone-runner:dev .
```To test it, build [Apache Ozone](https://github.com/apache/ozone):
```
mvn clean verify -DskipTests -Dskip.npx -DskipShade -Ddocker.ozone-runner.version=dev
```And start the compose cluster:
```
cd hadoop-ozone/dist/target/ozone-*/compose/ozone
docker-compose up -d
```*After merging PR, a new tag should pushed to the repository to create a new image. Use the convention: `YYYYMMDD-N` for tags where N is a daily counter (see the existing tags as an example).
After tag is published (and built by Docker Hub), the used runner version can be updated by modifying the `docker.ozone-runner.version` version in [hadoop-ozone/dist/pom.xml](https://github.com/apache/ozone/blob/master/hadoop-ozone/dist/pom.xml)
## Building multi-architecture images
To build images with multiple architectures, use `docker buildx`.
For example, to build images for both `linux/amd64` and `linux/arm64`, run:
```bash
docker buildx build --platform linux/amd64,linux/arm64 -t apache/ozone-runner:dev . --progress=plain
```It might be slow when building the non-native architecture image due to QEMU emulation.