https://github.com/apache/ozone-docker-builder
Container image to provide build environment for developing and testing Apache Ozone
https://github.com/apache/ozone-docker-builder
container ozone
Last synced: 4 months ago
JSON representation
Container image to provide build environment for developing and testing Apache Ozone
- Host: GitHub
- URL: https://github.com/apache/ozone-docker-builder
- Owner: apache
- License: apache-2.0
- Created: 2020-11-16T17:25:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-17T05:50:36.000Z (over 4 years ago)
- Last Synced: 2025-03-06T16:53:21.689Z (10 months ago)
- Topics: container, ozone
- Language: Dockerfile
- Homepage: https://ozone.apache.org
- Size: 20.5 KB
- Stars: 0
- Watchers: 32
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Apache Ozone **build** environment
This repository contains the definition of a helper container for building [Apache Ozone](https://ozone.apache.org)
Container contains all the required dependencies (and some cached artifacts).
Used by some of the [Github Actions](https://github.com/apache/ozone/tree/master/.github/workflows) of the main Ozone repository.
The image is available as [apache/ozone-build](https://hub.docker.com/r/apache/ozone-build). Build is managed by Docker Hub.
## Development
To build the image, please use:
```
docker build -t apache/ozone-build:dev .
```
To test it, you can test any build step inside the container:
```
docker -it -v `pwd`:/opt/ozone` bash
cd /opt/ozone
mvn clean install -DskipTests
```
Note: the image assumes that the Ozone source tree (`pwd` in our example) is writted by the user with id=1000.
*After merging PR, a new tag can be 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).