Container image to provide build environment for developing and testing Apache Ozone

Clone this repo:

Branches

  1. b04fcce HDDS-5229. Add NOTICE (#3) by Elek, Márton · 6 weeks ago master
  2. 1b3677f HDDS-4891. Avoid latest/master in Github Actions (#2) by Doroszlai, Attila · 4 months ago
  3. d80d9cc HDDS-4795. Separate source of Ozone container images to different repositories (#1) by Elek, Márton · 4 months ago
  4. 9709e25 install latest git from source (#17) by Doroszlai, Attila · 7 months ago
  5. c7d48c1 Trigger build for Ozone f64bc6ed3 by Doroszlai, Attila · 10 months ago

Apache Ozone build environment

This repository contains the definition of a helper container for building Apache Ozone

Container contains all the required dependencies (and some cached artifacts).

Used by some of the Github Actions of the main Ozone repository.

The image is available as 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).